diff options
Diffstat (limited to 'modern/src/MainMap.js')
-rw-r--r-- | modern/src/MainMap.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/MainMap.js b/modern/src/MainMap.js index 0e93ddba..7655aee8 100644 --- a/modern/src/MainMap.js +++ b/modern/src/MainMap.js @@ -16,7 +16,7 @@ class MainMap extends Component { render() { const position = [this.state.lat, this.state.lng] - const markers = this.props.positions.map((position) => + const markers = this.props.positions.map(position => <Marker key={position.id.toString()} position={{ lat: position.latitude, lng: position.longitude }}> <Popup> A pretty CSS3 popup. <br /> Easily customizable. |