From ffe290d56dc257ae2c2e5356354c40807f820afe Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Tue, 10 Sep 2024 12:34:12 +0530 Subject: [PATCH] Sym --- web/apps/photos/src/pages/gallery.tsx | 46 +++++++++++++-------------- 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsx index 37ad4a78f4..40cbe786c5 100644 --- a/web/apps/photos/src/pages/gallery.tsx +++ b/web/apps/photos/src/pages/gallery.tsx @@ -1085,9 +1085,9 @@ export default function Gallery() { ) : ( = ({ openSidebar, openUploader, isInSearchMode, + setIsInSearchMode, collections, files, updateSearch, - setIsInSearchMode, -}) => { - return ( - <> - {!isInSearchMode && ( - - - - )} - - {!isInSearchMode && } - - ); -}; +}) => ( + <> + {!isInSearchMode && } + + {!isInSearchMode && } + +); -export const UploadButton: React.FC = ( - props, -) => { +const SidebarButton: React.FC = (props) => ( + + + +); + +const UploadButton: React.FC = (props) => { const disabled = !uploadManager.shouldAllowNewUpload(); const isMobileWidth = useIsMobileWidth();