Skip to content

Commit

Permalink
file upload issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ekachxaidze98 committed Dec 10, 2024
1 parent 1690e0b commit 126d8ba
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions components/pdf-upload/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const RrsCheckCard = ({

const handleFileChange = (event) => {
event.preventDefault()
event.stopPropagation()
if (rrsPdfLoading) return

let file
Expand All @@ -65,12 +66,9 @@ const RrsCheckCard = ({
fileType ===
'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
)
) {
)
setCurrentView('formatIssue')
return
}
}
event.stopPropagation()
}

return (
Expand Down

0 comments on commit 126d8ba

Please sign in to comment.