Remove unused icon imports to fix ESLint warning count
This commit is contained in:
@@ -210,7 +210,7 @@ function VerticalDetailView({ vertical, onBack, onSelectMetric }) {
|
|||||||
const [categories, setCategories] = useState(null);
|
const [categories, setCategories] = useState(null);
|
||||||
const [burndown, setBurndown] = useState(null);
|
const [burndown, setBurndown] = useState(null);
|
||||||
const [loading, setLoading] = useState(true);
|
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(() => {
|
useEffect(() => {
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
@@ -356,7 +356,7 @@ function VerticalDetailView({ vertical, onBack, onSelectMetric }) {
|
|||||||
function MetricDeviceList({ vertical, metricId, onBack }) {
|
function MetricDeviceList({ vertical, metricId, onBack }) {
|
||||||
const [devices, setDevices] = useState(null);
|
const [devices, setDevices] = useState(null);
|
||||||
const [loading, setLoading] = useState(true);
|
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(() => {
|
useEffect(() => {
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user