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 c46ea10 commit 565bf4dCopy full SHA for 565bf4d
app/[locale]/10years/page.tsx
@@ -40,6 +40,7 @@ import {
40
parseStoryDates,
41
} from "./_components/utils"
42
43
+import { routing } from "@/i18n/routing"
44
import { fetch10YearEvents } from "@/lib/api/fetch10YearEvents"
45
import { fetch10YearStories } from "@/lib/api/fetch10YearStories"
46
import { fetchTorchHolders } from "@/lib/api/fetchTorchHolders"
@@ -491,6 +492,12 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
491
492
)
493
}
494
495
+export async function generateStaticParams() {
496
+ return routing.locales.map((locale) => ({
497
+ locale,
498
+ }))
499
+}
500
+
501
export async function generateMetadata({
502
params,
503
}: {
0 commit comments