cleanup profile page html to be valid replace old temp design system components with new ones divider is now correctly an hr element less section elements to be valid html
20 lines
540 B
TypeScript
20 lines
540 B
TypeScript
import { serverClient } from "@/lib/trpc/server"
|
|
|
|
import Profile from "@/components/MyPages/Profile"
|
|
import TrackingSDK from "@/components/TrackingSDK"
|
|
|
|
import type { LangParams, PageArgs } from "@/types/params"
|
|
|
|
export { generateMetadata } from "@/utils/generateMetadata"
|
|
|
|
export default async function ProfilePage({}: PageArgs<LangParams>) {
|
|
const accountPage = await serverClient().contentstack.accountPage.get()
|
|
|
|
return (
|
|
<>
|
|
<Profile />
|
|
{accountPage && <TrackingSDK pageData={accountPage.tracking} />}
|
|
</>
|
|
)
|
|
}
|