'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
