diff --git a/src/components/People/PeopleFilters.tsx b/src/components/People/PeopleFilters.tsx index 508bc5dea..475483bcd 100644 --- a/src/components/People/PeopleFilters.tsx +++ b/src/components/People/PeopleFilters.tsx @@ -8,6 +8,7 @@ export const PeopleFilters = () => { const allCenturies = searchParams.getAll('centuries'); const sex = searchParams.get('sex'); + const possibleCenturies = ['16', '17', '18', '19', '20']; const setSexFilterActiveClass = (selectedSex: string) => { return classNames( @@ -93,45 +94,15 @@ export const PeopleFilters = () => {
- - 16 - - - - 17 - - - - 18 - - - - 19 - - - - 20 - + {possibleCenturies.map(century => ( + + {century} + + ))}