import { serverClient } from "@/lib/trpc/server"

import Profile from "@/components/MyProfile/Profile"

export default async function ProfileInfo() {
  const user = await serverClient().user.get()
  return <Profile user={user} />
}
