This commit is contained in:
hailin 2025-04-21 01:12:57 +08:00
parent ca233a45c4
commit 97b9ff80c6
1 changed files with 2 additions and 0 deletions

View File

@ -133,6 +133,8 @@ export const ProfileSettings: FC<ProfileSettingsProps> = ({}) => {
const handleSignOut = async () => {
await supabase.auth.signOut()
console.log(`...................Redirecting to: /${locale}/login`)
router.push(`/${locale}/login`)
router.refresh()
return