mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 01:38:44 +00:00
fix bug where user can only upload one object (#527)
Co-authored-by: Christopher Oliphant <christopheroliphant@christophersmbp.home>
This commit is contained in:
1 parent
88129b7637
commit
33f7eb9ae2
1 file changed
+1
@@ -57,6 +57,7 @@ export function FileWrapper({
|
||||
setDragging(false);
|
||||
onDragDrop(event);
|
||||
if (event.dataTransfer.files && event.dataTransfer.files[0]) {
|
||||
setResetModal(true);
|
||||
setFile(event.dataTransfer.files[0]);
|
||||
setModalOpen(true);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user