summaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorErik Larkö <erik@mullvad.net>2017-09-25 11:32:46 +0200
committerErik Larkö <erik@mullvad.net>2017-09-25 15:22:45 +0200
commit7ad09bb75de84957a70014c9e4aa90f4c624a2da (patch)
treeacad5ea45c6ce3a34d8a2bf6bc76d3e2569a0d30 /app
parent6ffac7518b1c19cbaa19800456134cc769891783 (diff)
downloadmullvadvpn-7ad09bb75de84957a70014c9e4aa90f4c624a2da.tar.xz
mullvadvpn-7ad09bb75de84957a70014c9e4aa90f4c624a2da.zip
Read the city and coutry from the temporary config until we implement it in the backend
Diffstat (limited to 'app')
-rw-r--r--app/components/Connect.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/components/Connect.js b/app/components/Connect.js
index 66696fef64..a5af9250f7 100644
--- a/app/components/Connect.js
+++ b/app/components/Connect.js
@@ -109,7 +109,7 @@ export default class Connect extends Component {
case 'disconnected': isDisconnected = true; break;
}
- const { city, country } = this.props.connection;
+ const { city, country } = serverInfo;
// 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