Fixed 'use client' usage.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
'use client';
|
||||
import Report from '../[reportId]/Report';
|
||||
import ReportPage from '../[reportId]/ReportPage';
|
||||
import ReportHeader from '../[reportId]/ReportHeader';
|
||||
import ReportMenu from '../[reportId]/ReportMenu';
|
||||
import ReportBody from '../[reportId]/ReportBody';
|
||||
@@ -15,7 +14,7 @@ const defaultParameters = {
|
||||
|
||||
export default function InsightsReport({ reportId }: { reportId?: string }) {
|
||||
return (
|
||||
<Report reportId={reportId} defaultParameters={defaultParameters}>
|
||||
<ReportPage reportId={reportId} defaultParameters={defaultParameters}>
|
||||
<ReportHeader icon={<Lightbulb />} />
|
||||
<ReportMenu>
|
||||
<InsightsParameters />
|
||||
@@ -23,6 +22,6 @@ export default function InsightsReport({ reportId }: { reportId?: string }) {
|
||||
<ReportBody>
|
||||
<InsightsTable />
|
||||
</ReportBody>
|
||||
</Report>
|
||||
</ReportPage>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user