From 97b9ff80c6de5c1bd6662bbae7ae2be1b2502027 Mon Sep 17 00:00:00 2001 From: hailin Date: Mon, 21 Apr 2025 01:12:57 +0800 Subject: [PATCH] . --- components/utility/profile-settings.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/utility/profile-settings.tsx b/components/utility/profile-settings.tsx index 5e8435c..5ce978d 100644 --- a/components/utility/profile-settings.tsx +++ b/components/utility/profile-settings.tsx @@ -133,6 +133,8 @@ export const ProfileSettings: FC = ({}) => { const handleSignOut = async () => { await supabase.auth.signOut() + console.log(`...................Redirecting to: /${locale}/login`) + router.push(`/${locale}/login`) router.refresh() return