show login boolean in redux store

This commit is contained in:
2023-02-15 08:34:04 +00:00
parent 316e66a96f
commit fc5217daf8
6 changed files with 65 additions and 51 deletions
+2
View File
@@ -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;