From cc57b90295a95c0f190d967984b4a3b59dad2586 Mon Sep 17 00:00:00 2001 From: Timur Ercan Date: Sat, 14 Jan 2023 15:15:55 +0100 Subject: [PATCH] toast fix --- apps/web/components/signup.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/web/components/signup.tsx b/apps/web/components/signup.tsx index c4c65a087..2b5f51f93 100644 --- a/apps/web/components/signup.tsx +++ b/apps/web/components/signup.tsx @@ -48,6 +48,8 @@ export default function Signup() { }) .catch((err) => { methods.setError("apiError", { message: err.message }); + // Throw again for toast + throw new Error(err.message); }), { loading: "Creating your account...",