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 4ab1f5c commit 2f6407e
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

1 comment on commit 2f6407e

@vercel
Copy link

@vercel vercel bot commented on 2f6407e Jun 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.