('week');
- const [aiOpen, setAiOpen] = useState(true);
// Pull the richer supervisor rollup (NPS, idle, time breakdown, alerts)
// from the sidecar. Only `today`/`week`/`month` overlap with the rollup's
@@ -61,29 +57,20 @@ export const TeamDashboardPage = () => {
subtitle={dateRangeLabel}
infoText="Aggregated call metrics, agent performance, and operational alerts."
controls={
- <>
-
- {(['today', 'week', 'month'] as const).map((range) => (
-
- ))}
-
-
- >
+
+ {(['today', 'week', 'month'] as const).map((range) => (
+
+ ))}
+
}
/>
@@ -154,17 +141,6 @@ export const TeamDashboardPage = () => {
- {/* AI panel — collapsible */}
-