From cd5e8de4c4020c48d9e946af14781ed9d53a17e3 Mon Sep 17 00:00:00 2001 From: CloudLun Date: Tue, 28 Nov 2023 16:43:03 -0500 Subject: [PATCH] type ignore --- components/Geopanel/Membershippanel.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/Geopanel/Membershippanel.tsx b/components/Geopanel/Membershippanel.tsx index 03c0249..feabb2a 100644 --- a/components/Geopanel/Membershippanel.tsx +++ b/components/Geopanel/Membershippanel.tsx @@ -33,10 +33,12 @@ const Membershippanel = ({ selectedMemberFeatures, setSelectedDistrictFeatures, /* @ts-ignore */ map?.getSource("districts").setData({ type: "FeatureCollection", + /* @ts-ignore */ features: ((district === "assembly" ? assembly : senate) as GeoJson).features }); const clickedDistrictData = { + /* @ts-ignore */ features: ((district === "assembly" ? assembly : senate) as GeoJson).features.filter((d, i) => d.properties.District.toString() === selectedDistrict) }