src/platform/site-wide/user-nav/reducers/index.js
Function userNavReducer
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function userNavReducer(state = initialState, action) {
switch (action.type) {
case TOGGLE_FORM_SIGN_IN_MODAL:
return set('showFormSignInModal', action.isOpen, state);