Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
meganrm committed Mar 11, 2020
1 parent 6eec81b commit 0be8fd3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Home/MapComponent/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,11 @@ export default class CurrentEventsMap extends React.Component {
initStateMap() {
const {
webGL,
stateUPSP
stateUPSP,
setDistrict
} = this.props;
mapboxView.setDistrict = setDistrict;

mapController.readStateData({ webGL, map: this.map, stateUPSP },
() => mapController.maskCountry({ webGL, stateUPSP, map: this.map },
() => mapController.addStateDistrictListener({ webGL })
Expand Down

0 comments on commit 0be8fd3

Please sign in to comment.