teamdigitale/italia-app

View on GitHub
ts/features/services/home/hooks/useInstitutionsFetcher.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function useInstitutionsFetcher has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const useInstitutionsFetcher = () => {
  const dispatch = useIODispatch();

  const paginatedInstitutions = useIOSelector(paginatedInstitutionsSelector);
  const currentPage = useIOSelector(paginatedInstitutionsCurrentPageSelector);
Severity: Minor
Found in ts/features/services/home/hooks/useInstitutionsFetcher.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status