This commit is contained in:
parent
ca233a45c4
commit
97b9ff80c6
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue