fix(dashboard): use correct overview metrics on share page

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-03-21 19:30:44 +01:00
parent d3ef034a5d
commit bb018d55ca
3 changed files with 225 additions and 466 deletions

View File

@@ -9,7 +9,7 @@ import OverviewTopPages from '@/components/overview/overview-top-pages';
import OverviewTopSources from '@/components/overview/overview-top-sources';
import { OverviewInterval } from '@/components/overview/overview-interval';
import OverviewMetricsV2 from '@/components/overview/overview-metrics-v2';
import OverviewMetrics from '@/components/overview/overview-metrics';
import { OverviewRange } from '@/components/overview/overview-range';
interface PageProps {
@@ -36,8 +36,7 @@ export default function Page({ params: { projectId } }: PageProps) {
<OverviewFiltersButtons />
</div>
<div className="grid grid-cols-6 gap-4 p-4 pt-0">
{/* <OverviewMetrics projectId={projectId} /> */}
<OverviewMetricsV2 projectId={projectId} />
<OverviewMetrics projectId={projectId} />
<OverviewTopSources projectId={projectId} />
<OverviewTopPages projectId={projectId} />
<OverviewTopDevices projectId={projectId} />