Files
web/apps/scandic-web/app/[lang]/(live)/(protected)/my-pages/profile/page.tsx
Linus Flood 21255f8557 Merged in fix/edit-profile-tracking (pull request #1446)
feat:editprofile - added tracking

* feat:editprofile - added tracking

* Refactor


Approved-by: Erik Tiekstra
Approved-by: Christian Andolf
2025-03-03 07:50:11 +00:00

20 lines
558 B
TypeScript

import { serverClient } from "@/lib/trpc/server"
import Profile from "@/components/MyPages/myprofile/profile/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} />}
</>
)
}