Updated reports.
This commit is contained in:
21
src/app/(main)/websites/[websiteId]/reports/layout.tsx
Normal file
21
src/app/(main)/websites/[websiteId]/reports/layout.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
import { Metadata } from 'next';
|
||||
import { ReportsLayout } from './ReportsLayout';
|
||||
|
||||
export default async function ({
|
||||
children,
|
||||
params,
|
||||
}: {
|
||||
children: any;
|
||||
params: Promise<{ websiteId: string }>;
|
||||
}) {
|
||||
const { websiteId } = await params;
|
||||
|
||||
return <ReportsLayout websiteId={websiteId}>{children}</ReportsLayout>;
|
||||
}
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: {
|
||||
template: '%s | Umami',
|
||||
default: 'Websites | Umami',
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user