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();