tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
289
fork
atom
a tool for shared writing and social publishing
289
fork
atom
overview
issues
29
pulls
pipelines
prevent dbl clicking pub form
awarm.space
6 months ago
550cda41
c088af69
+1
1 changed file
expand all
collapse all
unified
split
app
lish
createPub
CreatePubForm.tsx
+1
app/lish/createPub/CreatePubForm.tsx
···
39
39
<form
40
40
className="flex flex-col gap-3"
41
41
onSubmit={async (e) => {
42
42
+
if (formState !== "normal") return;
42
43
e.preventDefault();
43
44
if (!subdomainValidator.safeParse(domainValue).success) return;
44
45
setFormState("loading");