umami/src/app/(main)/reports/[reportId]/page.tsx

15 lines
308 B
TypeScript
Raw Normal View History

2023-09-29 12:29:22 +00:00
import ReportDetails from './ReportDetails';
import { Metadata } from 'next';
2024-01-29 22:47:52 +00:00
export default function ReportDetailsPage({ params: { reportId } }) {
if (!reportId) {
2023-09-29 12:29:22 +00:00
return null;
}
2024-01-29 22:47:52 +00:00
return <ReportDetails reportId={reportId} />;
2023-09-29 12:29:22 +00:00
}
export const metadata: Metadata = {
2024-02-03 01:49:17 +00:00
title: 'Reports | Umami',
2023-09-29 12:29:22 +00:00
};