Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

⚡️ Remove static page generation (#1415)

Luke Vellaa2414ff8ca8d
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,