INTO-CPS-Association/DTaaS

View on GitHub
client/src/preview/components/asset/AssetLibrary.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function AssetLibrary has 66 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function AssetLibrary(props: { pathToAssets: string; privateRepo: boolean }) {
  const assets = useSelector(
    selectAssetsByTypeAndPrivacy(props.pathToAssets, props.privateRepo),
  );
  const [filter, setFilter] = useState('');
Severity: Major
Found in client/src/preview/components/asset/AssetLibrary.tsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status