whoops
Some checks failed
Deploy to Server / deploy (push) Failing after 1m28s

This commit is contained in:
rocord01 2025-07-16 06:55:08 -04:00
parent b1fd02b67c
commit 848469c0b9

View file

@ -1,28 +0,0 @@
import Header from '@/components/header';
import Footer from '@/components/footer';
import ConferenceDetails from '@/components/conferences/conference-details';
import { Suspense } from 'react';
// This tells Next.js to allow pages to be generated on-demand
// for params not returned by generateStaticParams.
export const dynamicParams = true;
export async function generateStaticParams() {
// Since conference rooms are dynamic and may require authentication to list,
// we can't statically generate them at build time.
// Returning an empty array will prevent build errors, and with dynamicParams = true,
// pages will be generated on-demand when visited.
return [];
}
export default function ConferenceDetailsPage({ params }) {
return (
<Suspense fallback={<div>Loading...</div>}>
<Header />
<main className="flex-grow">
<ConferenceDetails conferenceId={params.id} />
</main>
<Footer />
</Suspense>
);
}