16 lines
355 B
TypeScript
16 lines
355 B
TypeScript
import "./profileLayout.css"
|
|
|
|
import { serverClient } from "@/lib/trpc/server"
|
|
|
|
import TrackingSDK from "@/components/TrackingSDK"
|
|
|
|
export default async function ProfilePage() {
|
|
const accountPage = await serverClient().contentstack.accountPage.get()
|
|
|
|
if (!accountPage) {
|
|
return null
|
|
}
|
|
|
|
return <TrackingSDK pageData={accountPage.tracking} />
|
|
}
|