graycoreio/daffodil

View on GitHub
libs/category/state/src/reducers/page-metadata/reducer.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function daffCategoryPageMetadataReducer has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function daffCategoryPageMetadataReducer<U extends DaffGenericCategory<U>, W extends DaffProduct>(
  state = daffCategoryPageMetadataInitialState,
  action: DaffCategoryActions<U, W> | DaffCategoryPageActions<U, W> | DaffCategoryPageProductCollectionActions,
): DaffCategoryPageMetadataReducerState {
  const adapter = getCollectionStateAdapter<DaffCategoryPageMetadataReducerState>();
Severity: Minor
Found in libs/category/state/src/reducers/page-metadata/reducer.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status