diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-02-13 12:31:52 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-02-13 12:31:52 +0100 |
| commit | a62650251dd35d7364b9cd404a2df42d59fbb846 (patch) | |
| tree | 3f4b4de3b575fe2c73938b407da0fb72e866ce55 /app | |
| parent | 4cc0b2c8cf0003f0af91d1417e210e03eac32b2b (diff) | |
| parent | d3eeab9157c77f11d3c2ccd4515c6d8e2a40a790 (diff) | |
| download | mullvadvpn-a62650251dd35d7364b9cd404a2df42d59fbb846.tar.xz mullvadvpn-a62650251dd35d7364b9cd404a2df42d59fbb846.zip | |
Merge branch 'upgrade-react-simple-maps'
Diffstat (limited to 'app')
| -rw-r--r-- | app/components/SvgMap.js | 8 |
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 } |
