Skip to content

Commit

Permalink
fix: Delete progress state for transferred directory (TT-1810) (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sindrir authored Dec 13, 2024
1 parent 50da3f2 commit 7ee4432
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/features/registration/registration-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 7ee4432

Please sign in to comment.