fix: add lang for sidebar

This commit is contained in:
Matilda Landström
2024-05-27 09:57:21 +02:00
parent c8db459b9b
commit eecb4b5526

View File

@@ -15,7 +15,7 @@ export default async function ContentTypePage({
}: PageArgs<LangParams & ContentTypeParams & UIDParams, {}>) {
switch (params.contentType) {
case "loyalty-page":
return <LoyaltyPage />
return <LoyaltyPage lang={params.lang} />
case "content-page":
return <ContentPage />
default: