Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix: document not able to upload again

Marc Seitzda61db9d013c
diff --git a/components/documents/add-document-modal.tsx b/components/documents/add-document-modal.tsx
index 0022f6b2..114cd492 100644
--- a/components/documents/add-document-modal.tsx
+++ b/components/documents/add-document-modal.tsx
@@ -337,6 +337,7 @@ export function AddDocumentModal({
const clearModelStates = () => {
currentFile !== null && setCurrentFile(null);
notionLink !== null && setNotionLink(null);
+ setIsOpen(!isOpen);
};
return (