Fixed 'use client' usage.

This commit is contained in:
Mike Cao
2024-02-05 23:59:33 -08:00
parent be5592446a
commit f7151a880e
208 changed files with 323 additions and 385 deletions

View File

@@ -1,14 +1,10 @@
import ReportsHeader from './ReportsHeader';
import ReportsDataTable from './ReportsDataTable';
import ReportsPage from './ReportsPage';
import { Metadata } from 'next';
export default function ({ params: { teamId } }: { params: { teamId: string } }) {
return (
<>
<ReportsHeader />
<ReportsDataTable teamId={teamId} />
</>
);
return <ReportsPage teamId={teamId} />;
}
export const metadata = {
export const metadata: Metadata = {
title: 'Reports | Umami',
};