Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
add redirect to document detail page
Marc Seitz591b981ad2a0
diff --git a/pages/documents/new.tsx b/pages/documents/new.tsxindex f5d8e2a5..67ac8a0a 100644--- a/pages/documents/new.tsx+++ b/pages/documents/new.tsx@@ -67,6 +67,10 @@ export default function Form() {toast.custom((t) => (<Notification t={t} closeToast={() => toast.dismiss(t.id)} />));++ setTimeout(() => {+ router.push("/documents/" + document.id);+ }, 4000);} catch (error) {console.error("An error occurred while uploading the file: ", error);} finally {