import "./profileLayout.css"

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

import TrackingSDK from "@/components/Current/TrackingSDK"

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

  return (
    <TrackingSDK pageData={accountPageTracking} userData={userTrackingData} />
  )
}
