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.
2 parents 8be5456 + 52428d4 commit 077ea48Copy full SHA for 077ea48
app/[locale]/wallets/find-wallet/page.tsx
@@ -23,6 +23,8 @@ import {
23
24
import FindWalletPageJsonLD from "./page-jsonld"
25
26
+import { routing } from "@/i18n/routing"
27
+
28
const Page = async ({ params }: { params: PageParams }) => {
29
const { locale } = params
30
const t = await getTranslations({
@@ -82,6 +84,12 @@ const Page = async ({ params }: { params: PageParams }) => {
82
84
)
83
85
}
86
87
+export async function generateStaticParams() {
88
+ return routing.locales.map((locale) => ({
89
+ locale,
90
+ }))
91
+}
92
93
export async function generateMetadata({
94
params,
95
}: {
0 commit comments