From 659808985bec3123a3f6ff86984808d00a0f9208 Mon Sep 17 00:00:00 2001 From: alma Date: Mon, 5 May 2025 12:40:08 +0200 Subject: [PATCH] build fix --- app/[section]/page.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/app/[section]/page.tsx b/app/[section]/page.tsx index d8121f7b..ff87bf70 100644 --- a/app/[section]/page.tsx +++ b/app/[section]/page.tsx @@ -10,13 +10,7 @@ const menuItems = { missions: "https://example.com/missions" } -type PageProps = { - params: { - section: string; - }; -}; - -export default async function SectionPage({ params }: PageProps) { +export default async function SectionPage({ params }: { params: { section: string } }) { const section = params?.section ? String(params.section) : ''; const iframeUrl = menuItems[section as keyof typeof menuItems];