Skip to content
Snippets Groups Projects
Commit a930539a authored by Tom Robinson's avatar Tom Robinson
Browse files

Fix flow errors

parent 679a4e86
Branches
Tags
No related merge requests found
......@@ -23,6 +23,7 @@ type State = {
zoom: ?number,
points: L.Point[],
bounds: L.Bounds,
filtering: boolean,
};
const MAP_COMPONENTS_BY_TYPE = {
......@@ -44,6 +45,7 @@ export default class PinMap extends Component<*, Props, State> {
}
state: State;
_map: ?(LeafletMarkerPinMap|LeafletTilePinMap) = null;
constructor(props: Props) {
super(props);
......@@ -51,6 +53,7 @@ export default class PinMap extends Component<*, Props, State> {
lat: null,
lng: null,
zoom: null,
filtering: false,
...this._getPoints(props)
};
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment