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
This commit is contained in:
@@ -10,14 +10,10 @@ export { generateMetadata } from "@/utils/generateMetadata"
|
||||
export default async function ProfilePage({}: PageArgs<LangParams>) {
|
||||
const accountPage = await serverClient().contentstack.accountPage.get()
|
||||
|
||||
if (!accountPage) {
|
||||
return null
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<Profile />
|
||||
<TrackingSDK pageData={accountPage.tracking} />
|
||||
{accountPage && <TrackingSDK pageData={accountPage.tracking} />}
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user