You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like this is due to how to the state objects are merged. return pathStates.reduce((finalState, pathState) => ({ ...finalState, ...pathState }), preloadedState);
This would not be hard to fix to using lodash merge or JQuery extend although it would add another dependency. return pathStates.reduce((finalState, pathState) => _.merge({}, finalState, pathState), preloadedState);
getStateFromCookies function when given the two nested paths only returns a first path.
Input: const paths = {
"authentication.refreshToken": { name: 'refreshToken' },
"authentication.accessToken": { name: 'accessToken' },
};
Call: getStateFromCookies({}, paths}
output: {
authentication: {
accessToken: "fakeToken"
}
}
The text was updated successfully, but these errors were encountered: