fix getReports for website, user, team

This commit is contained in:
Francis Cao
2024-06-03 12:26:03 -07:00
parent 111c93be20
commit d40807e672
3 changed files with 29 additions and 8 deletions

View File

@@ -1,8 +1,8 @@
import ReportsPage from './ReportsPage';
import { Metadata } from 'next';
export default function ({ params: { teamId } }: { params: { teamId: string } }) {
return <ReportsPage teamId={teamId} />;
export default function () {
return <ReportsPage />;
}
export const metadata: Metadata = {