fix: svelte type breaking on useSession

This commit is contained in:
Bereket Engida
2024-11-07 12:30:09 +03:00
parent 37aa258f8e
commit c0f6b26e8e
3 changed files with 7 additions and 2 deletions

View File

@@ -106,6 +106,9 @@ export function SignUpCard() {
onError(context) {
alert(context.error.message);
},
onSuccess(context) {
window.location.href = "/";
},
},
});
}}