Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
fix: persist RadioGroup selection in report form
Ashish Viradiya76f045e53e8b
diff --git a/components/view/report-form.tsx b/components/view/report-form.tsxindex 02ac37f0..893f5776 100644--- a/components/view/report-form.tsx+++ b/components/view/report-form.tsx@@ -101,7 +101,7 @@ export default function ReportForm({</p></div><div className="flex flex-col space-y-4">- <RadioGroup onValueChange={setAbuseType} className="grid gap-2">+ <RadioGroup value={abuseType} onValueChange={setAbuseType} className="grid gap-2"><div className="flex items-center space-x-2"><RadioGroupItem value="spam" id="spam" /><Label htmlFor="spam" className="font-normal">