build fix
This commit is contained in:
parent
6783e9700b
commit
659808985b
@ -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];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user