From a2414ff8ca8d33a2335b977a187fa61281facd96 Mon Sep 17 00:00:00 2001 From: Luke Vella Date: Wed, 30 Oct 2024 21:40:30 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20Remove=20static=20page=20g?= =?UTF-8?q?eneration=20(#1415)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/src/app/[locale]/layout.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/apps/web/src/app/[locale]/layout.tsx b/apps/web/src/app/[locale]/layout.tsx index ee7d143cf..66f2982d3 100644 --- a/apps/web/src/app/[locale]/layout.tsx +++ b/apps/web/src/app/[locale]/layout.tsx @@ -1,7 +1,6 @@ import "tailwindcss/tailwind.css"; import "../../style.css"; -import languages from "@rallly/languages"; import { Toaster } from "@rallly/ui/toaster"; import { Viewport } from "next"; import { Inter } from "next/font/google"; @@ -15,10 +14,6 @@ const inter = Inter({ display: "swap", }); -export async function generateStaticParams() { - return Object.keys(languages).map((locale) => ({ locale })); -} - export const viewport: Viewport = { width: "device-width", initialScale: 1,