From d110fbd60254d0d432ecbea3b21f2d61957ba18b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon-Pierre=20Krautkra=CC=88mer?= Date: Fri, 6 Oct 2023 15:05:50 +0200 Subject: [PATCH] fix linter --- .../src/components/views/exhibitions/ExhibitionOverview.tsx | 1 - projects/bp-gallery/src/components/views/search/SearchView.tsx | 2 -- 2 files changed, 3 deletions(-) diff --git a/projects/bp-gallery/src/components/views/exhibitions/ExhibitionOverview.tsx b/projects/bp-gallery/src/components/views/exhibitions/ExhibitionOverview.tsx index 7fb3cedb1..5be43dad1 100644 --- a/projects/bp-gallery/src/components/views/exhibitions/ExhibitionOverview.tsx +++ b/projects/bp-gallery/src/components/views/exhibitions/ExhibitionOverview.tsx @@ -252,7 +252,6 @@ const ExhibitionOverview = ({ }); const exhibitions: FlatExhibition[] | undefined = useSimplifiedQueryResponseData(exhibitionsData)?.exhibitions; - const { userId } = useAuth(); const { visit } = useVisit(); const { t } = useTranslation(); const { isMobile } = useContext(MobileContext); diff --git a/projects/bp-gallery/src/components/views/search/SearchView.tsx b/projects/bp-gallery/src/components/views/search/SearchView.tsx index 51910edda..a982f37bd 100644 --- a/projects/bp-gallery/src/components/views/search/SearchView.tsx +++ b/projects/bp-gallery/src/components/views/search/SearchView.tsx @@ -29,8 +29,6 @@ const isValidTimeSpecification = (searchRequest: string) => { return isValidYear(searchRequest); }; -const isExhibitionId = (searchRequest: string) => {}; - const SearchView = () => { const [areResultsEmpty, setAreResultsEmpty] = useState(false); const [filter, setFilter] = useState('');