feat(WEB-220): label translations
This commit is contained in:
@@ -12,5 +12,5 @@ export default function ContentTypeLayout({
|
||||
}: React.PropsWithChildren<
|
||||
LayoutArgs<LangParams & ContentTypeParams & UIDParams>
|
||||
>) {
|
||||
return <div className={styles.layout}>{children}</div>
|
||||
return <section className={styles.layout}>{children}</section>
|
||||
}
|
||||
|
||||
@@ -14,10 +14,10 @@ export default async function ContentTypePage({
|
||||
params,
|
||||
}: PageArgs<LangParams & ContentTypeParams & UIDParams, {}>) {
|
||||
switch (params.contentType) {
|
||||
case "loyalty-page":
|
||||
return <LoyaltyPage />
|
||||
case "content-page":
|
||||
return <ContentPage />
|
||||
case "loyalty-page":
|
||||
return <LoyaltyPage />
|
||||
default:
|
||||
const type: never = params.contentType
|
||||
console.error(`Unsupported content type given: ${type}`)
|
||||
|
||||
Reference in New Issue
Block a user