diff --git a/app/soapbox/reducers/auth.js b/app/soapbox/reducers/auth.js index c0b0ffe09..dc9e67f4f 100644 --- a/app/soapbox/reducers/auth.js +++ b/app/soapbox/reducers/auth.js @@ -120,8 +120,7 @@ export default function auth(oldState = initialState, action) { const state = reducer(oldState, action); localStorage.setItem('soapbox:auth', JSON.stringify(state.toJS())); - // Reload the page when the current user changes. - if (state.get('me') !== oldState.get('me')) { + if (action.type === SWITCH_ACCOUNT) { location.reload(); }