fix: only show not signed in warning if not signed in

This commit is contained in:
Elias Schneider
2022-10-29 22:55:46 +02:00
parent c8021a42b7
commit c6e1f07f51
3 changed files with 13 additions and 46 deletions

View File

@@ -99,7 +99,9 @@ const Upload = () => {
<Button
loading={isUploading}
disabled={files.length <= 0}
onClick={() => showCreateUploadModal(modals, uploadFiles)}
onClick={() =>
showCreateUploadModal(modals, user ? true : false, uploadFiles)
}
>
Share
</Button>