diff --git a/src/pages/gallery/components/CollectionDropZone.tsx b/src/pages/gallery/components/CollectionDropZone.tsx index 7993f79b4..868221d86 100644 --- a/src/pages/gallery/components/CollectionDropZone.tsx +++ b/src/pages/gallery/components/CollectionDropZone.tsx @@ -31,7 +31,7 @@ export const DropDiv = styled.div` transition: border 0.24s ease-in-out; `; -const CollectionDropZone = ({ +function CollectionDropZone({ children, closeModal, setData, @@ -43,7 +43,7 @@ const CollectionDropZone = ({ encryptionKey, progressBarProps -}) => { +}) { const upload = async (acceptedFiles) => { closeModal(); diff --git a/src/pages/gallery/components/UploadButton.tsx b/src/pages/gallery/components/UploadButton.tsx index 84bb6544c..26b011b1e 100644 --- a/src/pages/gallery/components/UploadButton.tsx +++ b/src/pages/gallery/components/UploadButton.tsx @@ -2,7 +2,7 @@ import CollectionSelector from 'pages/gallery/components/CollectionSelector'; import React, { useRef } from 'react'; import { Button } from 'react-bootstrap'; -const UploadButton = ({ showModal }) => { +function UploadButton({ showModal }) { return (