diff options
| author | Andrej Mihajlov <and@codeispoetry.ru> | 2017-03-01 13:12:02 +0000 |
|---|---|---|
| committer | Andrej Mihajlov <and@codeispoetry.ru> | 2017-03-01 13:12:02 +0000 |
| commit | fa52fcb8a26e61f1674479332dabae3846ce32b6 (patch) | |
| tree | ef211058560e0f8a7773341bf2aa985e519c8942 /app/containers | |
| parent | 480d524dd655518ce1a4bc7315c1b81f9c02e159 (diff) | |
| download | mullvadvpn-fa52fcb8a26e61f1674479332dabae3846ce32b6.tar.xz mullvadvpn-fa52fcb8a26e61f1674479332dabae3846ce32b6.zip | |
Move shell calls outside of component
Diffstat (limited to 'app/containers')
| -rw-r--r-- | app/containers/SettingsPage.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/containers/SettingsPage.js b/app/containers/SettingsPage.js index 909526aaa2..63b1e54b0a 100644 --- a/app/containers/SettingsPage.js +++ b/app/containers/SettingsPage.js @@ -15,7 +15,7 @@ const mapDispatchToProps = (dispatch, props) => { const { updateSettings } = bindActionCreators(settingsActions, dispatch); return { logout: () => logout(props.backend), - buyTime: () => shell.openExternal(links.purchase), + openExternalLink: (type) => shell.openExternal(links[type]), updateSettings }; }; |
