Skip to content

Commit b962eeb

Browse files
committed
bugfix UGN-370 - fixes issue #176, error on non-permitted file extensions
1 parent aedea8a commit b962eeb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)