diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-02-19 13:42:05 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-02-20 17:48:28 +0100 |
| commit | 50c8d6a1da1a24c59c3d96a7f55cf19367ac4b66 (patch) | |
| tree | a4f2465a6db13fc262360e1b97fbe24f4cd015ef | |
| parent | 2c741a45b85ec334c6c09be01f3062065c998265 (diff) | |
| download | mullvadvpn-50c8d6a1da1a24c59c3d96a7f55cf19367ac4b66.tar.xz mullvadvpn-50c8d6a1da1a24c59c3d96a7f55cf19367ac4b66.zip | |
Remove actions that do not exist anymore
| -rw-r--r-- | app/redux/account/reducers.js | 2 | ||||
| -rw-r--r-- | app/redux/connection/reducers.js | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/app/redux/account/reducers.js b/app/redux/account/reducers.js index 95909e3d74..7585d7adc0 100644 --- a/app/redux/account/reducers.js +++ b/app/redux/account/reducers.js @@ -24,8 +24,6 @@ const initialState: AccountReduxState = { export default function(state: AccountReduxState = initialState, action: ReduxAction): AccountReduxState { switch (action.type) { - case 'LOGIN_CHANGE': - return { ...state, ...action.newData }; case 'START_LOGIN': return { ...state, ...{ status: 'logging in', diff --git a/app/redux/connection/reducers.js b/app/redux/connection/reducers.js index 7eb4c2aaf4..f21d8ca544 100644 --- a/app/redux/connection/reducers.js +++ b/app/redux/connection/reducers.js @@ -28,9 +28,6 @@ const initialState: ConnectionReduxState = { export default function(state: ConnectionReduxState = initialState, action: ReduxAction): ConnectionReduxState { switch (action.type) { - case 'CONNECTION_CHANGE': - return { ...state, ...action.newData }; - case 'NEW_LOCATION': return { ...state, ...action.newLocation }; |
