From f615407bbaa882a5a7048afa13b44f5ed68e3ee5 Mon Sep 17 00:00:00 2001 From: fahed Date: Tue, 7 Apr 2026 13:19:47 +0300 Subject: [PATCH] fix: default district performance chart to pie Co-Authored-By: Claude Sonnet 4.6 --- src/components/Dashboard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Dashboard.tsx b/src/components/Dashboard.tsx index 2d98a57..fe00381 100644 --- a/src/components/Dashboard.tsx +++ b/src/components/Dashboard.tsx @@ -84,7 +84,7 @@ function Dashboard({ data, seasons, userRole, showDataLabels, setShowDataLabels, const [channelChartType, setChannelChartType] = useState<'bar' | 'pie'>('pie'); const [channelDisplayMode, setChannelDisplayMode] = useState<'absolute' | 'percent'>('absolute'); const [eventDisplayMode, setEventDisplayMode] = useState<'absolute' | 'percent'>('absolute'); - const [districtChartType, setDistrictChartType] = useState<'bar' | 'pie'>('bar'); + const [districtChartType, setDistrictChartType] = useState<'bar' | 'pie'>('pie'); const [districtDisplayMode, setDistrictDisplayMode] = useState<'absolute' | 'percent'>('absolute'); const filteredData = useMemo(() => filterData(data, filters), [data, filters]);