Fixed pages.

This commit is contained in:
Mike Cao
2024-02-06 00:38:33 -08:00
parent f7151a880e
commit b85109241b
22 changed files with 86 additions and 77 deletions

View File

@@ -1,12 +1,8 @@
import ReportDetails from './ReportDetails';
import { Metadata } from 'next';
import ReportPage from './ReportPage';
export default function ReportDetailsPage({ params: { reportId } }) {
if (!reportId) {
return null;
}
return <ReportDetails reportId={reportId} />;
export default function ({ params: { reportId } }) {
return <ReportPage reportId={reportId} />;
}
export const metadata: Metadata = {