diff --git a/app/[locale]/layer-2/page.tsx b/app/[locale]/layer-2/page.tsx index 36dc04f9fea..d1409177d3d 100644 --- a/app/[locale]/layer-2/page.tsx +++ b/app/[locale]/layer-2/page.tsx @@ -20,6 +20,7 @@ import { BASE_TIME_UNIT } from "@/lib/constants" import Layer2Page from "./_components/layer-2" +import { routing } from "@/i18n/routing" import { fetchGrowThePie } from "@/lib/api/fetchGrowThePie" import { fetchL2beat } from "@/lib/api/fetchL2beat" @@ -79,6 +80,14 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => { ) } +export async function generateStaticParams() { + return routing.locales.map((locale) => ({ + locale, + })) +} + +export const dynamicParams = false + export async function generateMetadata({ params, }: {