summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2019-09-12 16:27:14 +0200
committerAndrej Mihajlov <and@mullvad.net>2019-09-13 15:59:11 +0200
commit42833eccfa3b823dd73ee4a2af13479923b831f5 (patch)
tree5a33e0cc94fd8e1e5b10725ad2a1d44e2ef2eb80
parente651f066833c3fb5f80abf4d6e7f7d5ed20c37cd (diff)
downloadmullvadvpn-42833eccfa3b823dd73ee4a2af13479923b831f5.tar.xz
mullvadvpn-42833eccfa3b823dd73ee4a2af13479923b831f5.zip
Fix typo
-rw-r--r--gui/src/renderer/app.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/src/renderer/app.tsx b/gui/src/renderer/app.tsx
index b3c044a44f..b7c4971c23 100644
--- a/gui/src/renderer/app.tsx
+++ b/gui/src/renderer/app.tsx
@@ -550,7 +550,7 @@ export default class AppRenderer {
this.reduxActions.connection.newLocation(location);
}
- private covertRelayListToLocationList(relayList: IRelayList): IRelayLocationRedux[] {
+ private convertRelayListToLocationList(relayList: IRelayList): IRelayLocationRedux[] {
return relayList.countries
.map((country) => ({
name: country.name,
@@ -573,13 +573,13 @@ export default class AppRenderer {
}
private setRelays(relayList: IRelayList) {
- const locations = this.covertRelayListToLocationList(relayList);
+ const locations = this.convertRelayListToLocationList(relayList);
this.reduxActions.settings.updateRelayLocations(locations);
}
private setBridges(relayList: IRelayList) {
- const locations = this.covertRelayListToLocationList(relayList);
+ const locations = this.convertRelayListToLocationList(relayList);
this.reduxActions.settings.updateBridgeLocations(locations);
}