import "./profileLayout.css"

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

import TrackingSDK from "@/components/TrackingSDK"

export default async function ProfilePage() {
  const accountPageTracking = serverClient().contentstack.accountPage.tracking()
  const userTrackingData = serverClient().user.tracking()

  return (
    <TrackingSDK
      pageDataPromise={accountPageTracking}
      userDataPromise={userTrackingData}
    />
  )
}
