Showing 128 of 146 total issues
Avoid too many return
statements within this function. Open
Open
return { ...state, manualLightAlwaysOn: !state.manualLightAlwaysOn };
Avoid too many return
statements within this function. Open
Open
return { ...state, frame: frameReducer(state.frame, action) };
Avoid too many return
statements within this function. Open
Open
return { ...state, loading: true };
Avoid too many return
statements within this function. Open
Open
return {
...frame,
start: { ...frame.start, delta: action.payload.start },
end: { ...frame.end, delta: action.payload.end }
};
Avoid too many return
statements within this function. Open
Open
return { ...state, playing: !state.playing };
Avoid too many return
statements within this function. Open
Open
return { ...state, manualLightAlwaysOn: action.payload };
Avoid too many return
statements within this function. Open
Open
return { ...state, loading: false };
Avoid too many return
statements within this function. Open
Open
return { ...state, loading: false, selected: payload.id };
Avoid too many return
statements within this function. Open
Open
return frame;
Avoid too many return
statements within this function. Open
Open
return { ...state, sidebarOpen: action.payload };
Avoid too many return
statements within this function. Open
Open
return loreAdapter.updateOne({ id: payload.id, changes: payload }, { ...state, loading: false });
Avoid too many return
statements within this function. Open
Open
return state;
Avoid too many return
statements within this function. Open
Open
return { ...state, mediaLarge: action.payload };
Avoid too many return
statements within this function. Open
Open
return { ...state, loading: false };
Avoid too many return
statements within this function. Open
Open
return frame;
Avoid too many return
statements within this function. Open
Open
return { ...state, playing: action.payload, loading: false };
Avoid too many return
statements within this function. Open
Open
return { ...state, loading: true };
Avoid too many return
statements within this function. Open
Open
return { ...state, interactionMode: action.payload };
Avoid too many return
statements within this function. Open
Open
return { ...state, manualLight: !state.manualLight };
Avoid too many return
statements within this function. Open
Open
return;