Skip to content

Commit 077ea48

Browse files
authored
Merge pull request #16695 from ethereum/find-wallets-static
Render find wallets statically
2 parents 8be5456 + 52428d4 commit 077ea48

File tree

1 file changed

+8
-0
lines changed
  • app/[locale]/wallets/find-wallet

1 file changed

+8
-0
lines changed

app/[locale]/wallets/find-wallet/page.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ import {
2323

2424
import FindWalletPageJsonLD from "./page-jsonld"
2525

26+
import { routing } from "@/i18n/routing"
27+
2628
const Page = async ({ params }: { params: PageParams }) => {
2729
const { locale } = params
2830
const t = await getTranslations({
@@ -82,6 +84,12 @@ const Page = async ({ params }: { params: PageParams }) => {
8284
)
8385
}
8486

87+
export async function generateStaticParams() {
88+
return routing.locales.map((locale) => ({
89+
locale,
90+
}))
91+
}
92+
8593
export async function generateMetadata({
8694
params,
8795
}: {

0 commit comments

Comments
 (0)