diff options
Diffstat (limited to 'app/components')
| -rw-r--r-- | app/components/Connect.js | 16 |
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"> |
