fix(ui): stabilize logout and theme boundaries

This commit is contained in:
poyrazavsever
2026-07-17 22:51:55 +03:00
parent 5afb04c580
commit ec824c0eec
4 changed files with 74 additions and 14 deletions
+1 -1
View File
@@ -99,5 +99,5 @@ export async function signOut() {
await callAuthAction<{ success: boolean }>('/sign-out')
revalidatePath('/', 'layout')
redirect('/login')
return { redirectTo: '/login' } as const
}