summaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorErik Larkö <erik@mullvad.net>2017-09-06 09:58:22 +0200
committerErik Larkö <erik@mullvad.net>2017-09-06 11:21:17 +0200
commit8a02afd8aeee4e0065b4d5c99e4a7fd924eaa4c0 (patch)
tree38284aa460f2b6a21ffe7c7b17ccd50527d682a3 /app
parent993fb10670e1112234739a70d88a48dcdc257527 (diff)
downloadmullvadvpn-8a02afd8aeee4e0065b4d5c99e4a7fd924eaa4c0.tar.xz
mullvadvpn-8a02afd8aeee4e0065b4d5c99e4a7fd924eaa4c0.zip
Remove map from the first beta. MAKE SURE TO INCLUDE IT IN LATER RELEASES
Diffstat (limited to 'app')
-rw-r--r--app/components/Connect.js16
1 files changed, 10 insertions, 6 deletions
diff --git a/app/components/Connect.js b/app/components/Connect.js
index ba74fb311a..7d6269655a 100644
--- a/app/components/Connect.js
+++ b/app/components/Connect.js
@@ -6,7 +6,6 @@ import { If, Then, Else } from 'react-if';
import { Layout, Container, Header } from './Layout';
import { BackendError } from '../lib/backend';
import ExternalLinkSVG from '../assets/images/icon-extLink.svg';
-import Map from './Map';
import type { ServerInfo } from '../lib/backend';
import type { HeaderBarStyle } from './HeaderBar';
@@ -109,17 +108,22 @@ export default class Connect extends Component {
case 'disconnected': isDisconnected = true; break;
}
- const altitude = (isConnecting ? 300 : 100) * 1000;
- const { location, city, country } = this.props.connection;
+ const { city, country } = this.props.connection;
- const map = process.platform === 'darwin'
- ? <Map animate={ !this.state.isFirstPass }
+ // We decided to not include the map in the first beta release to customers
+ // but it MUST be included in the following releases. Therefore we choose
+ // to just comment it out
+ const map = undefined;
+ /*
+ const altitude = (isConnecting ? 300 : 100) * 1000;
+ const { location } = this.props.connection;
+ const map = <Map animate={ !this.state.isFirstPass }
location={ location || [0, 0] }
altitude= { altitude }
markerImagePath= { isConnected
? './assets/images/location-marker-secure.svg'
: './assets/images/location-marker-unsecure.svg' } />
- : undefined;
+ */
return (
<div className="connect">