fix(upload) (#355)

This commit is contained in:
Mamadou DICKO 2023-06-20 17:41:16 +02:00 committed by GitHub
parent 9c8e0aa0e4
commit 90bd49527b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ export const FileUploader = (): JSX.Element => {
)}
</div>
<div className="flex flex-col items-center justify-center">
<Button isLoading={isPending} onClick={void uploadAllFiles}>
<Button isLoading={isPending} onClick={() => void uploadAllFiles()}>
{isPending ? "Uploading..." : "Upload"}
</Button>
</div>