diff --git a/pkg/view/src/components/PostPublish.tsx b/pkg/view/src/components/PostPublish.tsx index 41ca92d..01a1389 100644 --- a/pkg/view/src/components/PostPublish.tsx +++ b/pkg/view/src/components/PostPublish.tsx @@ -73,7 +73,7 @@ export default function PostPublish(props: { } else { form.reset(); props.onError(null); - setTimeout(() => props.onPost(), 250); + props.onPost(); } setSubmitting(false); } @@ -109,7 +109,7 @@ export default function PostPublish(props: { } else { form.reset(); props.onError(null); - setTimeout(() => props.onPost(), 250); + props.onPost(); } setSubmitting(false); } @@ -192,7 +192,7 @@ export default function PostPublish(props: { return ( <> -