summaryrefslogtreecommitdiffhomepage
path: root/app/containers/SelectLocationPage.js
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2018-06-01 16:13:10 +0200
committerAndrej Mihajlov <and@mullvad.net>2018-06-05 12:11:55 +0200
commitca2f6fbfcad7b73d4ea63ef46cb1cab943ec9087 (patch)
treeb1f7754eb50896ab3681e35fa4e08be642b940c9 /app/containers/SelectLocationPage.js
parent5852c980980de53e00d76a0bdb4b41bf5c0f5b39 (diff)
downloadmullvadvpn-ca2f6fbfcad7b73d4ea63ef46cb1cab943ec9087.tar.xz
mullvadvpn-ca2f6fbfcad7b73d4ea63ef46cb1cab943ec9087.zip
Add formatted source code
Diffstat (limited to 'app/containers/SelectLocationPage.js')
-rw-r--r--app/containers/SelectLocationPage.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/app/containers/SelectLocationPage.js b/app/containers/SelectLocationPage.js
index b5e12eb4ef..05b4205dfa 100644
--- a/app/containers/SelectLocationPage.js
+++ b/app/containers/SelectLocationPage.js
@@ -19,8 +19,7 @@ const mapDispatchToProps = (dispatch: ReduxDispatch, props: SharedRouteProps) =>
onSelect: async (relayLocation) => {
try {
const relayUpdate = RelaySettingsBuilder.normal()
- .location
- .fromRaw(relayLocation)
+ .location.fromRaw(relayLocation)
.build();
await backend.updateRelaySettings(relayUpdate);
@@ -31,8 +30,11 @@ const mapDispatchToProps = (dispatch: ReduxDispatch, props: SharedRouteProps) =>
} catch (e) {
log.error('Failed to select server: ', e.message);
}
- }
+ },
};
};
-export default connect(mapStateToProps, mapDispatchToProps)(SelectLocation);
+export default connect(
+ mapStateToProps,
+ mapDispatchToProps,
+)(SelectLocation);