From b92e08b8502cbe9afed5ef04f538a3f9f164df7e Mon Sep 17 00:00:00 2001 From: Bogdan Date: Thu, 28 Dec 2023 16:27:22 +0200 Subject: [PATCH] Fixed: Disable movie search button if none are listed --- frontend/src/Movie/Index/MovieIndexSearchButton.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/Movie/Index/MovieIndexSearchButton.tsx b/frontend/src/Movie/Index/MovieIndexSearchButton.tsx index 4409b2706..aa91ba923 100644 --- a/frontend/src/Movie/Index/MovieIndexSearchButton.tsx +++ b/frontend/src/Movie/Index/MovieIndexSearchButton.tsx @@ -21,7 +21,6 @@ function MovieIndexSearchButton(props: MovieIndexSearchButtonProps) { const isSearching = useSelector(createCommandExecutingSelector(MOVIE_SEARCH)); const { items, - totalItems, }: MoviesAppState & MovieIndexAppState & ClientSideCollectionAppState = useSelector(createMovieClientSideCollectionItemsSelector('movieIndex')); @@ -62,7 +61,7 @@ function MovieIndexSearchButton(props: MovieIndexSearchButtonProps) {