frontend/redux/generate_reducer.ts
Function generateReducer
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function generateReducer<State>(initialState: State) {
/** A function that is passed the state, action and action handler.
* This is useful if you have custom business logic that needs to exit early
* or trigger alternative action handlers. Example: Not triggering
* INIT_RESOURCE when UI is set to "read-only" mode. */