wip fix for signup issues

This commit is contained in:
Brandon Thomas committed 2025-05-23 12:18:54 -04:00
1 parent 0ee9b7c442
commit 88fab7b0c2
1 file changed
+4 -1
+4 -1
View File
@@ -81,7 +81,10 @@ export default function SignUpScreen() {
email: email!,
password: password!,
passwordConfirmation: passwordConfirmation!,
}).then((error) => {
}).then((response) => {
const redirectPath = searchParams.get("redirect");
navigate(redirectPath ? redirectPath : "/");
}).catch((error) => {
console.log("Error occured", error);
if (error) {
addToast(ToastTypes.ERROR, error);