fix bug where user can only upload one object (#527)

Co-authored-by: Christopher Oliphant <christopheroliphant@christophersmbp.home>
This commit is contained in:
FromTheLOLAshesandChristopher Oliphant authored and GitHub committed 2024-06-24 13:50:39 -04:00
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);
}