graycoreio/daffodil

View on GitHub
libs/customer/state/src/reducers/address-entities/reducer.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function daffCustomerAddressEntitiesReducer has 59 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function daffCustomerAddressEntitiesReducer<
  T extends DaffCustomerAddress = DaffCustomerAddress,
>(
  state = daffCustomerAddressEntitiesAdapter<T>().getInitialState(),
  action: DaffCustomerAddressActions<T> | DaffCustomerActions): DaffOperationEntityState<T> {
Severity: Major
Found in libs/customer/state/src/reducers/address-entities/reducer.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status