Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
fix: disable skip button when submitting
Marc Seitzd007162f5dca
diff --git a/components/welcome/select.tsx b/components/welcome/select.tsxindex 13ff4d58..e77231eb 100644--- a/components/welcome/select.tsx+++ b/components/welcome/select.tsx@@ -310,7 +310,9 @@ export default function Select() {{/* Skip option */}<buttononClick={() => saveSurveyAndProceed(dealType, null, dealTypeOther || null)}- className="text-xs text-muted-foreground underline-offset-4 hover:underline"+ disabled={isSubmitting}+ aria-disabled={isSubmitting}+ className="text-xs text-muted-foreground underline-offset-4 hover:underline disabled:opacity-50 disabled:pointer-events-none">Skip</button>