toast fix

This commit is contained in:
Timur Ercan
2023-01-14 15:15:55 +01:00
parent e1ec6a5e05
commit cc57b90295

View File

@ -48,6 +48,8 @@ export default function Signup() {
}) })
.catch((err) => { .catch((err) => {
methods.setError("apiError", { message: err.message }); methods.setError("apiError", { message: err.message });
// Throw again for toast
throw new Error(err.message);
}), }),
{ {
loading: "Creating your account...", loading: "Creating your account...",