diff --git a/src/app/conferences/[id]/page.jsx b/src/app/conferences/[id]/page.jsx deleted file mode 100644 index f1550d5..0000000 --- a/src/app/conferences/[id]/page.jsx +++ /dev/null @@ -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 ( - Loading...}> -
-
- -
-