summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2018-02-19 13:42:05 +0100
committerAndrej Mihajlov <and@mullvad.net>2018-02-20 17:48:28 +0100
commit50c8d6a1da1a24c59c3d96a7f55cf19367ac4b66 (patch)
treea4f2465a6db13fc262360e1b97fbe24f4cd015ef
parent2c741a45b85ec334c6c09be01f3062065c998265 (diff)
downloadmullvadvpn-50c8d6a1da1a24c59c3d96a7f55cf19367ac4b66.tar.xz
mullvadvpn-50c8d6a1da1a24c59c3d96a7f55cf19367ac4b66.zip
Remove actions that do not exist anymore
-rw-r--r--app/redux/account/reducers.js2
-rw-r--r--app/redux/connection/reducers.js3
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 };