fix: rebase issues

This commit is contained in:
Christel Westerberg
2024-05-21 16:13:50 +02:00
parent d5f2604ca0
commit 158b5a5dbb
25 changed files with 43 additions and 346 deletions

View File

@@ -11,20 +11,10 @@ import Content from "@/components/MyPages/AccountPage/Webview/Content"
import styles from "./page.module.css"
import { LangParams, PageArgs, UriParams } from "@/types/params"
import { LangParams, PageArgs } from "@/types/params"
export default async function MyPages({
params,
searchParams,
}: PageArgs<LangParams, UriParams>) {
if (!searchParams.uri) {
return notFound()
}
const accountPage = await serverClient().contentstack.accountPage.get({
url: searchParams.uri,
lang: params.lang,
})
export default async function MyPages({ params }: PageArgs<LangParams>) {
const accountPage = await serverClient().contentstack.accountPage.get()
return (
<MaxWidth className={styles.blocks} tag="main">