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 = () => {
Something went wrong
)} - {people && people.length === 0 && ( + {people && !people.length && (There are no people on the server