Skip to content

Commit fb01505

Browse files
authored
Merge pull request #177 from UgnisSoftware/UGN-370
bugfix UGN-370 - fixes error on non-permitted file extensions
2 parents aedea8a + b962eeb commit fb01505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/steps/UploadStep/components/DropZone.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const DropZone = ({ onContinue, isLoading }: DropZoneProps) => {
4040
})
4141
})
4242
},
43-
onDrop: async ([file]) => {
43+
onDropAccepted: async ([file]) => {
4444
setLoading(true)
4545
const arrayBuffer = await readFileAsync(file)
4646
const workbook = XLSX.read(arrayBuffer, {

0 commit comments

Comments
 (0)