graycoreio/daffodil

View on GitHub
libs/auth/state/src/reducers/auth/auth.reducer.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function daffAuthReducer has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function daffAuthReducer(
  state = daffAuthInitialState,
  action: DaffAuthActions | DaffAuthLoginActions | DaffAuthRegisterSuccess | DaffAuthResetPasswordActions,
): DaffAuthReducerState {
  switch (action.type) {
Severity: Minor
Found in libs/auth/state/src/reducers/auth/auth.reducer.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status