Skip to content

Commit

Permalink
Merge localStorageState state instead of the older allLocalStorageState
Browse files Browse the repository at this point in the history
Signed-off-by: tynandebold <[email protected]>
  • Loading branch information
tynandebold committed Dec 5, 2024
1 parent ee33875 commit dcff28d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/store/initial-state.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,7 @@ export const mergeLocalStorage = (state) => {
}
});

const allLocalStorageState = {
...localStorageState,
};

return deepmerge(state, allLocalStorageState);
return deepmerge(state, localStorageState);
};

/**
Expand Down

0 comments on commit dcff28d

Please sign in to comment.