fix: add lang for sidebar
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user