'use client'; import { useRealtimeInvalidation } from '@/hooks/use-realtime-invalidation'; import { KpiCardsWithBoundary } from './kpi-cards'; import { PipelineChart } from './pipeline-chart'; import { RevenueForecast } from './revenue-forecast'; import { ActivityFeed } from './activity-feed'; export function DashboardShell() { useRealtimeInvalidation({ 'interest:stageChanged': [['dashboard', 'pipeline'], ['dashboard', 'forecast']], 'client:created': [['dashboard', 'kpis']], 'berth:statusChanged': [['dashboard', 'kpis'], ['dashboard', 'forecast']], }); return (
{/* Row 1: KPI cards */}
{/* Row 2: Pipeline chart + Revenue forecast */}
{/* Row 3: Activity feed */}
); }