diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-06-06 15:38:59 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-06-06 15:38:59 -0700 |
commit | f8643e6bd88c20cc13383a86f457d909cdd6ae6e (patch) | |
tree | 8a9ec30921684d822a4346907617d9bb94c12f80 /modern/src/MainMap.js | |
parent | cc03e41dd7f9f401797f39eb08e7d4617d624a2f (diff) | |
download | trackermap-web-f8643e6bd88c20cc13383a86f457d909cdd6ae6e.tar.gz trackermap-web-f8643e6bd88c20cc13383a86f457d909cdd6ae6e.tar.bz2 trackermap-web-f8643e6bd88c20cc13383a86f457d909cdd6ae6e.zip |
Use proper session state
Diffstat (limited to 'modern/src/MainMap.js')
-rw-r--r-- | modern/src/MainMap.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/MainMap.js b/modern/src/MainMap.js index fdc193c2..35e5348a 100644 --- a/modern/src/MainMap.js +++ b/modern/src/MainMap.js @@ -11,14 +11,14 @@ const calculateMapCenter = (state) => { } } return null; -} +}; const mapFeatureProperties = (state, position) => { const device = state.devices.items[position.deviceId] || null; return { name: device ? device.name : '' } -} +}; const mapStateToProps = state => ({ mapCenter: calculateMapCenter(state), |