Minor typo

This commit is contained in:
vjrj 2017-12-03 16:57:11 +01:00
parent 2e36c9cd17
commit dcc88c09a3

View file

@ -67,7 +67,7 @@ const MyMarkersList = ({ markers }) => {
const FireList = ({ activefires, scale, useMarkers }) => {
// console.log("Scaling? :" + scale);
const items = activefires.map(({ _id, ...props }) => (
(useMarkers? <MyPopupMarker key={_id} {...props} />:"") +
useMarkers? <MyPopupMarker key={_id} {...props} />:
scale? <Fire key={_id} {...props} />:<FireMark key={_id} {...props} />))
return <div style={{ display: 'none' }}>{items}</div>
}
@ -90,7 +90,7 @@ class FiresMap extends React.Component {
this.state = {
viewport: DEFAULT_VIEWPORT,
modified: false,
userMarkers: true
useMarkers: true
}
}