From 2118d88d0ae662ef489216b3bee177e9c3627972 Mon Sep 17 00:00:00 2001 From: amjed-ali-k Date: Sat, 14 Oct 2023 23:04:26 +0530 Subject: [PATCH] fix: logout url --- src/components/auth/LogOut.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {