Skip to content

Commit af9f0bd

Browse files
committed
Adding AAD_LOGOUT_SUCCESS case to reduxStore.js
1 parent 222843f commit af9f0bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sample/src/reduxStore.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ const rootReducer = (state = initialState, action) => {
3333
switch (action.type) {
3434
case 'AAD_LOGIN_SUCCESS':
3535
return { ...state, aadResponse: action.payload };
36+
case 'AAD_LOGOUT_SUCCESS':
37+
return { ...state, aadResponse: null };
3638
default:
3739
return state;
3840
}

0 commit comments

Comments
 (0)