diff --git a/frontend/apps/editor3d/app/src/signup.tsx b/frontend/apps/editor3d/app/src/signup.tsx index d5046fcb5f..d34af63538 100644 --- a/frontend/apps/editor3d/app/src/signup.tsx +++ b/frontend/apps/editor3d/app/src/signup.tsx @@ -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);