Skip to content
Snippets Groups Projects
Commit d97b45c9 authored by Jure's avatar Jure
Browse files

fix: hide upload success notification

parent 50dd4185
No related branches found
No related tags found
No related merge requests found
......@@ -182,8 +182,8 @@ const UploadManuscript = ({ acceptFiles, ...props }) => {
// setError(false)
// }
// Show and then hide the error
if (error) {
// Show and then hide the error/success state
if (error || completed) {
setTimeout(() => {
setConversion({})
}, 3000)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment