added admin layout
This commit is contained in:
8
actions/logout.ts
Normal file
8
actions/logout.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
'use server'
|
||||
|
||||
import { signOut } from '@/config/auth'
|
||||
|
||||
export const logout = async () => {
|
||||
// do something separately from js client bundle prior logging out
|
||||
await signOut()
|
||||
}
|
||||
Reference in New Issue
Block a user