diff --git a/src/features/registration/registration-form.tsx b/src/features/registration/registration-form.tsx index 8e30296..32ed4a0 100644 --- a/src/features/registration/registration-form.tsx +++ b/src/features/registration/registration-form.tsx @@ -167,6 +167,10 @@ const RegistrationForm: React.FC = () => { console.error(response); handleError(undefined, response.status); } + setAllUploadProgress(progress => { + delete progress.dir[pushedDir]; + return progress; + }); }) .catch(error => { handleError();