diff --git a/src/components/auth/LogOut.tsx b/src/components/auth/LogOut.tsx index d5432f3..c54a156 100644 --- a/src/components/auth/LogOut.tsx +++ b/src/components/auth/LogOut.tsx @@ -19,7 +19,7 @@ export const useLogout = () => { const logout = async () => { try { await hanko?.user.logout(); - router.push("/login"); + router.push("/auth"); router.refresh(); return; } catch (error) {