diff --git a/src/pages/gallery/components/DragAndDropUpload.tsx b/src/pages/gallery/components/DragAndDropUpload.tsx index 9cb53a8e892814f376f42accafbb83d222e8d092..80852c6f0127aa0d4a9e64b1d25ac8500a22ab9c 100644 --- a/src/pages/gallery/components/DragAndDropUpload.tsx +++ b/src/pages/gallery/components/DragAndDropUpload.tsx @@ -29,13 +29,14 @@ const DropDiv = styled.div` transition: border 0.24s ease-in-out; `; -const FileUpload = ({ children }) => { +const FileUpload = ({ children, noClick }) => { return ( <> { console.log(acceptedFiles); }} + noClick={noClick} > {({ getRootProps, diff --git a/src/pages/gallery/index.tsx b/src/pages/gallery/index.tsx index 4c654dac991563fd8c0f0f0571b509c9287c164e..c3695a3fbfb88de748ca8b0758ba831281f2be46 100644 --- a/src/pages/gallery/index.tsx +++ b/src/pages/gallery/index.tsx @@ -287,7 +287,7 @@ export default function Gallery() { selected={router.query.collection?.toString()} selectCollection={selectCollection} /> - + {filteredData.length ? (