Skip to content

Commit

Permalink
add the type ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
CloudLun committed Nov 28, 2023
1 parent 693508b commit 799413a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/Geopanel/Geopanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const Geopanel = ({ selectedDistrictFeatures, setSelectedDistrictFeatures, selec
const selectedDistrict = (e.target as HTMLElement).innerText
/* @ts-ignore */
const clickedDistrictData = {
/* @ts-ignore */
features: ((district === "assembly" ? assembly : senate) as GeoJson).features.filter((d, i) => d.properties.District.toString() === selectedDistrict)
}
/* @ts-ignore */
Expand Down

0 comments on commit 799413a

Please sign in to comment.