src/applications/personalization/profile/reducers/vaProfile.js
Function vaProfile
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function vaProfile(state = initialState, action) {
switch (action.type) {
case FETCH_HERO_SUCCESS:
case FETCH_HERO_FAILED:
return set('hero', action.hero, state);