fix: add lang for sidebar
This commit is contained in:
@@ -15,7 +15,7 @@ export default async function ContentTypePage({
|
|||||||
}: PageArgs<LangParams & ContentTypeParams & UIDParams, {}>) {
|
}: PageArgs<LangParams & ContentTypeParams & UIDParams, {}>) {
|
||||||
switch (params.contentType) {
|
switch (params.contentType) {
|
||||||
case "loyalty-page":
|
case "loyalty-page":
|
||||||
return <LoyaltyPage />
|
return <LoyaltyPage lang={params.lang} />
|
||||||
case "content-page":
|
case "content-page":
|
||||||
return <ContentPage />
|
return <ContentPage />
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user