diff --git a/src/pages/gallery/components/CollectionDropZone.tsx b/src/pages/gallery/components/CollectionDropZone.tsx index ebe35de2c..85a916d47 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, showModal, @@ -40,7 +40,7 @@ const CollectionDropZone = ({ setProgressView, progressBarProps -}) => { +}) { const upload = async (acceptedFiles) => { const token = getToken(); diff --git a/src/pages/gallery/components/UploadButton.tsx b/src/pages/gallery/components/UploadButton.tsx index 00799681e..68bf535d9 100644 --- a/src/pages/gallery/components/UploadButton.tsx +++ b/src/pages/gallery/components/UploadButton.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { Button } from 'react-bootstrap'; -const UploadButton = ({ showModal }) => { +function UploadButton({ showModal }) { return (