From 232eedce7011ed3b6ba534315fd4a8d49511eba6 Mon Sep 17 00:00:00 2001 From: Jordan Ramos Date: Thu, 14 May 2026 10:00:51 -0600 Subject: [PATCH] Remove unused icon imports to fix ESLint warning count --- frontend/src/components/pages/CCPMetricsPage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/pages/CCPMetricsPage.js b/frontend/src/components/pages/CCPMetricsPage.js index 256ca31..651a338 100644 --- a/frontend/src/components/pages/CCPMetricsPage.js +++ b/frontend/src/components/pages/CCPMetricsPage.js @@ -210,7 +210,7 @@ function VerticalDetailView({ vertical, onBack, onSelectMetric }) { const [categories, setCategories] = useState(null); const [burndown, setBurndown] = useState(null); const [loading, setLoading] = useState(true); - // ⚠️ CONVENTION: No error state — catch silently swallows errors without displaying them to the user + // ⚠️ CONVENTION: Missing error state — .catch() silently swallows errors without displaying them to the user. Add an error state and render an error message (see main CCPMetricsPage pattern). useEffect(() => { setLoading(true); @@ -356,7 +356,7 @@ function VerticalDetailView({ vertical, onBack, onSelectMetric }) { function MetricDeviceList({ vertical, metricId, onBack }) { const [devices, setDevices] = useState(null); const [loading, setLoading] = useState(true); - // ⚠️ CONVENTION: No error state — catch silently swallows errors without displaying them to the user + // ⚠️ CONVENTION: Missing error state — .catch() silently swallows errors without displaying them to the user. Add an error state and render an error message (see main CCPMetricsPage pattern). useEffect(() => { setLoading(true);