From ca28a3c5953a16ee915e850a73b593dfb94ffd2a Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Thu, 20 Feb 2025 11:05:57 +0530 Subject: [PATCH] Also --- web/apps/photos/src/pages/gallery.tsx | 5 ++--- web/apps/photos/src/pages/shared-albums.tsx | 6 ++++-- .../gallery/components/FullScreenDropZone.tsx | 14 ++++++++------ 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsx index be321594f4..c8f2d3e3d3 100644 --- a/web/apps/photos/src/pages/gallery.tsx +++ b/web/apps/photos/src/pages/gallery.tsx @@ -861,15 +861,14 @@ const Page: React.FC = () => { }} > - - {blockingLoad && } - - + -> = ({ getDragAndDropRootProps, message, children }) => { +> = ({ getInputProps, getRootProps, message, children }) => { const [isDragActive, setIsDragActive] = useState(false); const onDragEnter = useCallback(() => setIsDragActive(true), []); @@ -50,10 +54,8 @@ export const FullScreenDropZone: React.FC< return ( <> - + + {isDragActive && (