show login boolean in redux store
This commit is contained in:
@@ -10,6 +10,7 @@ const currentViewInitialState = {
|
||||
linkedCaseReferences: {},
|
||||
currentPage: 1,
|
||||
showReps: false,
|
||||
showLogin: false,
|
||||
};
|
||||
|
||||
export default function reducer(state = currentViewInitialState, action) {
|
||||
@@ -69,6 +70,7 @@ export default function reducer(state = currentViewInitialState, action) {
|
||||
return {
|
||||
...state,
|
||||
showReps: action.showReps,
|
||||
showLogin: action.showLogin,
|
||||
};
|
||||
default:
|
||||
return state;
|
||||
|
||||
Reference in New Issue
Block a user