summaryrefslogtreecommitdiffhomepage
path: root/app/containers/AccountPage.js
diff options
context:
space:
mode:
authoranderklander <anderklander@gmail.com>2017-11-14 18:50:21 +0100
committerErik Larkö <erik@mullvad.net>2017-12-14 09:16:50 +0100
commited657f7892eb9263e15a0cf2ffb0caa60b32491c (patch)
tree789a9dcdf150b7e5f9df098c2d1ae3a7680255ad /app/containers/AccountPage.js
parent7c3d84ac86a5a29cbb456dbdce2f7af9696021cf (diff)
downloadmullvadvpn-ed657f7892eb9263e15a0cf2ffb0caa60b32491c.tar.xz
mullvadvpn-ed657f7892eb9263e15a0cf2ffb0caa60b32491c.zip
Links/exit in platform.js
moved separate small files to platform.js to handle platform specific tasks
Diffstat (limited to 'app/containers/AccountPage.js')
-rw-r--r--app/containers/AccountPage.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/containers/AccountPage.js b/app/containers/AccountPage.js
index ae992bc12a..4ef7de5d83 100644
--- a/app/containers/AccountPage.js
+++ b/app/containers/AccountPage.js
@@ -6,7 +6,7 @@ import { push } from 'react-router-redux';
import Account from '../components/Account';
import accountActions from '../redux/account/actions';
import { links } from '../config';
-import Linking from '../lib/linking';
+import { open } from '../lib/platform';
import type { ReduxState, ReduxDispatch } from '../redux/store';
import type { SharedRouteProps } from '../routes';
@@ -22,7 +22,7 @@ const mapDispatchToProps = (dispatch: ReduxDispatch, props: SharedRouteProps) =>
onClose: () => {
pushHistory('/settings');
},
- onBuyMore: () => Linking(links['purchase'])
+ onBuyMore: () => open(links['purchase'])
};
};