summaryrefslogtreecommitdiffhomepage
path: root/app/containers
diff options
context:
space:
mode:
authorErik Larkö <erik@mullvad.net>2017-10-05 12:14:48 +0200
committerErik Larkö <erik@mullvad.net>2017-10-05 12:21:08 +0200
commitb989b7efec1d44f23765de86cdd50a1751f138cb (patch)
tree631ae8a141d1d2303a1c4ae3e99da27625d760c6 /app/containers
parente73d32044663ae6256de5089eb227dc00b3ff9bc (diff)
downloadmullvadvpn-b989b7efec1d44f23765de86cdd50a1751f138cb.tar.xz
mullvadvpn-b989b7efec1d44f23765de86cdd50a1751f138cb.zip
Remove the auto-secure setting
Diffstat (limited to 'app/containers')
-rw-r--r--app/containers/SettingsPage.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/containers/SettingsPage.js b/app/containers/SettingsPage.js
index 6152774c4b..4f5ef06968 100644
--- a/app/containers/SettingsPage.js
+++ b/app/containers/SettingsPage.js
@@ -1,8 +1,6 @@
import { connect } from 'react-redux';
-import { bindActionCreators } from 'redux';
import { push } from 'react-router-redux';
import Settings from '../components/Settings';
-import settingsActions from '../redux/settings/actions';
import { remote, shell } from 'electron';
import { links } from '../config';
@@ -11,13 +9,11 @@ const mapStateToProps = (state) => {
};
const mapDispatchToProps = (dispatch, _props) => {
- const { updateSettings } = bindActionCreators(settingsActions, dispatch);
return {
onQuit: () => remote.app.quit(),
onClose: () => dispatch(push('/connect')),
onViewAccount: () => dispatch(push('/settings/account')),
onExternalLink: (type) => shell.openExternal(links[type]),
- onUpdateSettings: updateSettings
};
};