INTO-CPS-Association/DTaaS

View on GitHub
client/src/preview/util/init.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function fetchLibraryAssets has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const fetchLibraryAssets = async (
  dispatch: ReturnType<typeof useDispatch>,
  setError: Dispatch<SetStateAction<string | null>>,
  type: string,
  isPrivate: boolean,
Severity: Minor
Found in client/src/preview/util/init.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status