refactor: router.replace to router.push and fix typos

This commit is contained in:
Sanidhya Kumar Verma
2024-09-04 10:19:02 +00:00
committed by GitHub
parent eb7e052d75
commit 19f0e71609
9 changed files with 97 additions and 18 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ const SignIn = () => {
if (signInAttempt.status === "complete") {
await setActive({ session: signInAttempt.createdSessionId });
router.replace("/");
router.push("/");
} else {
Alert.alert("Error", "Invalid email or password.");
setForm((prevForm) => ({