Changed route ids to be more explicit.
This commit is contained in:
14
src/app/(main)/reports/[reportId]/page.tsx
Normal file
14
src/app/(main)/reports/[reportId]/page.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import ReportDetails from './ReportDetails';
|
||||
import { Metadata } from 'next';
|
||||
|
||||
export default function ReportDetailsPage({ params: { reportId } }) {
|
||||
if (!reportId) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return <ReportDetails reportId={reportId} />;
|
||||
}
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Reports | umami',
|
||||
};
|
||||
Reference in New Issue
Block a user