Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
feat: reset rejected file
Marc Seitzcf47a5b1e685
diff --git a/components/viewer-upload-component.tsx b/components/viewer-upload-component.tsxindex 03e42252..630c7368 100644--- a/components/viewer-upload-component.tsx+++ b/components/viewer-upload-component.tsx@@ -40,6 +40,7 @@ export function ViewerUploadComponent({newUploads: { fileName: string; progress: number }[],) => {setUploads(newUploads);+ setRejectedFiles([]);expectedCountRef.current = newUploads.length;completedCountRef.current = 0;