'use server'

import { currentUser } from '@/lib/auth'
import { UserInfo } from '@/components/cabinet/user-info'

const ServerPage = async () => {
  const user = await currentUser()

  return (
    <UserInfo user={user} label="🗄️ Server component"/>
  )
}

export default ServerPage

