summaryrefslogtreecommitdiffstats
path: root/src/features/auth/hooks/useLogin.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/auth/hooks/useLogin.ts')
-rw-r--r--src/features/auth/hooks/useLogin.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/auth/hooks/useLogin.ts b/src/features/auth/hooks/useLogin.ts
index 6af76c5..c83618f 100644
--- a/src/features/auth/hooks/useLogin.ts
+++ b/src/features/auth/hooks/useLogin.ts
@@ -19,7 +19,7 @@ export function useLogin() {
password,
});
- router.replace('/(protected)/home');
+ router.replace('/home');
} catch (err) {
setError(getErrorMessage(err, 'No se pudo iniciar sesión'));
} finally {