summaryrefslogtreecommitdiffhomepage
path: root/app/components
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2018-02-09 14:14:29 +0100
committerAndrej Mihajlov <and@mullvad.net>2018-02-13 11:20:21 +0100
commitd3eeab9157c77f11d3c2ccd4515c6d8e2a40a790 (patch)
tree3f4b4de3b575fe2c73938b407da0fb72e866ce55 /app/components
parent4cc0b2c8cf0003f0af91d1417e210e03eac32b2b (diff)
downloadmullvadvpn-d3eeab9157c77f11d3c2ccd4515c6d8e2a40a790.tar.xz
mullvadvpn-d3eeab9157c77f11d3c2ccd4515c6d8e2a40a790.zip
Update react-simple-maps
Diffstat (limited to 'app/components')
-rw-r--r--app/components/SvgMap.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/components/SvgMap.js b/app/components/SvgMap.js
index 96bf6a40ba..2803f0c4ef 100644
--- a/app/components/SvgMap.js
+++ b/app/components/SvgMap.js
@@ -171,10 +171,6 @@ export default class SvgMap extends Component {
style={ zoomableGroupStyle }>
<Geographies geography={ geographyData } disableOptimization={ true }>
{(geographies, projection) => {
- // see https://github.com/zcreativelabs/react-simple-maps/issues/51
- if(geographies.length === 0) {
- return [];
- }
return this.state.visibleGeometry.map(({ id }) => (
<Geography
key={ id }
@@ -186,10 +182,6 @@ export default class SvgMap extends Component {
</Geographies>
<Geographies geography={ statesProvincesLinesData } disableOptimization={ true }>
{(geographies, projection) => {
- // see https://github.com/zcreativelabs/react-simple-maps/issues/51
- if(geographies.length === 0) {
- return [];
- }
return this.state.visibleStatesProvincesLines.map(({ id }) => (
<Geography
key={ id }