diff options
| author | Andrej Mihajlov <and@codeispoetry.ru> | 2017-02-22 19:20:52 +0000 |
|---|---|---|
| committer | Andrej Mihajlov <and@codeispoetry.ru> | 2017-02-22 19:20:52 +0000 |
| commit | 5cbfddab9874c163f7ea697d45eeccb8116ce161 (patch) | |
| tree | 09097270e9956b6aca2642d9d8b7e82d27831c5a /app/containers | |
| parent | b357e668d82d9f002d8145c394b72bc593db3582 (diff) | |
| download | mullvadvpn-5cbfddab9874c163f7ea697d45eeccb8116ce161.tar.xz mullvadvpn-5cbfddab9874c163f7ea697d45eeccb8116ce161.zip | |
- Switch tray icon when connected
- Fix ESLint issues
Diffstat (limited to 'app/containers')
| -rw-r--r-- | app/containers/SelectLocationPage.js | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/app/containers/SelectLocationPage.js b/app/containers/SelectLocationPage.js index c9bef71f6f..114ec5ffd5 100644 --- a/app/containers/SelectLocationPage.js +++ b/app/containers/SelectLocationPage.js @@ -3,12 +3,7 @@ import { bindActionCreators } from 'redux'; import SelectLocation from '../components/SelectLocation'; import settingsActions from '../actions/settings'; -const mapStateToProps = (state) => { - return state; -}; - -const mapDispatchToProps = (dispatch, props) => { - return bindActionCreators(settingsActions, dispatch); -}; +const mapStateToProps = (state) => state; +const mapDispatchToProps = (dispatch) => bindActionCreators(settingsActions, dispatch); export default connect(mapStateToProps, mapDispatchToProps)(SelectLocation); |
