add client/admin pages, show info and created admin api and server actions
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
'use client'
|
||||
|
||||
import { logout } from '@/actions/logout'
|
||||
import { useCurrentUser } from '@/hooks/useCurrentUser'
|
||||
|
||||
const CabinetPage = () => {
|
||||
const user = useCurrentUser()
|
||||
const CabinetPage = ({ params }: any) => {
|
||||
|
||||
const btnOnClick = () => logout()
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user