Site yönlendirme
This commit is contained in:
@@ -46,7 +46,7 @@ export function UserNav({ user, profile }: UserNavProps) {
|
|||||||
|
|
||||||
const handleSignOut = async () => {
|
const handleSignOut = async () => {
|
||||||
await supabase.auth.signOut()
|
await supabase.auth.signOut()
|
||||||
router.push("/login")
|
router.push("/")
|
||||||
router.refresh()
|
router.refresh()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user