15 lines
306 B
TypeScript
15 lines
306 B
TypeScript
'use client'
|
|
|
|
import { UserInfo } from '@/components/cabinet/user-info'
|
|
import { useCurrentUser } from '@/hooks/useCurrentUser'
|
|
|
|
const ClientPage = ({ params }: any) => {
|
|
const user = useCurrentUser()
|
|
|
|
return (
|
|
<UserInfo user={user} label="💻 Client component"/>
|
|
)
|
|
}
|
|
|
|
export default ClientPage
|