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
27
pulls
pipelines
add timeout to createPub redirect
awarm.space
9 months ago
eac4c596
d60fdabb
+5
-2
1 changed file
expand all
collapse all
unified
split
app
lish
createPub
CreatePubForm.tsx
+5
-2
app/lish/createPub/CreatePubForm.tsx
···
43
43
iconFile: logoFile,
44
44
subdomain: domainValue,
45
45
});
46
46
-
if (data?.publication)
47
47
-
router.push(`${getPublicationURL(data.publication)}/dashboard`);
46
46
+
// Show a spinner while this is happening! Maybe a progress bar?
47
47
+
setTimeout(() => {
48
48
+
if (data?.publication)
49
49
+
router.push(`${getPublicationURL(data.publication)}/dashboard`);
50
50
+
}, 500);
48
51
}}
49
52
>
50
53
<div className="flex flex-col items-center mb-4 gap-2">