This commit is contained in:
parent
b6d41b3e81
commit
80d3ee9260
|
|
@ -133,7 +133,7 @@ export const ProfileSettings: FC<ProfileSettingsProps> = ({}) => {
|
||||||
const handleSignOut = async () => {
|
const handleSignOut = async () => {
|
||||||
await supabase.auth.signOut()
|
await supabase.auth.signOut()
|
||||||
|
|
||||||
router.push(`${locale}/login`)
|
router.push(`/${locale}/login`)
|
||||||
router.refresh()
|
router.refresh()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue