Skip to content

Commit

Permalink
Avoid store boards on userData reducer
Browse files Browse the repository at this point in the history
  • Loading branch information
tomivm committed Jul 5, 2024
1 parent 8f11447 commit f707d4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/App/App.reducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ function appReducer(state = initialState, action) {
userData: {}
};
case UPDATE_USER_DATA:
if (action.userData.boards) delete action.userData.boards;
return {
...state,
userData: action.userData
Expand Down

0 comments on commit f707d4d

Please sign in to comment.