From 006f2944fbe3577724355f62b4633cb91f500985 Mon Sep 17 00:00:00 2001 From: Abhinav Date: Wed, 17 May 2023 15:44:26 +0530 Subject: [PATCH] refactor filteredData dependency --- apps/photos/src/pages/gallery/index.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/apps/photos/src/pages/gallery/index.tsx b/apps/photos/src/pages/gallery/index.tsx index 7adb35cd9..c29acea7e 100644 --- a/apps/photos/src/pages/gallery/index.tsx +++ b/apps/photos/src/pages/gallery/index.tsx @@ -452,13 +452,9 @@ export default function Gallery() { ); }, [ files, + trashedFiles, deletedFileIds, - search?.date, - search?.files, - search?.location, - search?.person, - search?.thing, - search?.text, + search, activeCollection, archivedCollections, ]);