teamdigitale/italia-app

View on GitHub
ts/utils/hooks/useLoadPotValue.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function useLoadPotValue has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const useLoadPotValue = <T, E>(
  id: string,
  potValue: pot.Pot<T, E>,
  loadAction: () => void
) => {
Severity: Minor
Found in ts/utils/hooks/useLoadPotValue.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status