fix: zod validation

This commit is contained in:
Christel Westerberg
2024-05-30 11:33:11 +02:00
parent 37843af507
commit 15b56fd0dd
5 changed files with 40 additions and 27 deletions

View File

@@ -16,7 +16,7 @@ export default async function Header({
lang,
languageSwitcher,
}: LangParams & { languageSwitcher: React.ReactNode }) {
const data = await serverClient().contentstack.config.header({ lang })
const data = await serverClient().contentstack.config.header()
const session = await auth()
const homeHref = homeHrefs[env.NODE_ENV][lang]