We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6f88af commit 4dae8d4Copy full SHA for 4dae8d4
app/[locale]/page.tsx
@@ -135,13 +135,13 @@ export async function generateMetadata({
135
}) {
136
const { locale } = await params
137
138
- const t = await getTranslations({ locale })
+ const t = await getTranslations({ locale, namespace: "page-index" })
139
140
return await getMetadata({
141
locale,
142
slug: [""],
143
- title: t("page-index.page-index-meta-title"),
144
- description: t("page-index.page-index-meta-description"),
+ title: t("page-index-meta-title"),
+ description: t("page-index-meta-description"),
145
})
146
}
147
0 commit comments