Skip to content

Commit

Permalink
feat(upload): remove files after uploading (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
adityanandanx authored Jun 2, 2023
1 parent 1228b60 commit a5bda9f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export const useFileUploader = () => {
setPendingFileIndex((i) => i + 1);
}
setPendingFileIndex(0);
setFiles([]);
setIsPending(false);
};

Expand Down

0 comments on commit a5bda9f

Please sign in to comment.