From 3a48e061ef530978d7cf4c3f482b5ed222730937 Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Fri, 27 Dec 2024 14:18:55 +0100 Subject: [PATCH] ui: fix some proptype warnings --- .../Dashboard/components/WidgetChart/WidgetChart.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/app/components/Dashboard/components/WidgetChart/WidgetChart.tsx b/frontend/app/components/Dashboard/components/WidgetChart/WidgetChart.tsx index d23b96585..c7549855a 100644 --- a/frontend/app/components/Dashboard/components/WidgetChart/WidgetChart.tsx +++ b/frontend/app/components/Dashboard/components/WidgetChart/WidgetChart.tsx @@ -64,7 +64,7 @@ function WidgetChart(props: Props) { const prevMetricRef = useRef(); const isMounted = useIsMounted(); const [compData, setCompData] = useState(null); - const [enabledRows, setEnabledRows] = useState([]); + const [enabledRows, setEnabledRows] = useState([]); const isTableWidget = _metric.metricType === 'table' && _metric.viewType === 'table'; const isPieChart = @@ -524,7 +524,6 @@ function WidgetChart(props: Props) {