dashpresshq/dashpress

View on GitHub
src/frontend/hooks/data/data.store.ts

Summary

Maintainability
A
1 hr
Test Coverage
C
75%

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

export const useEntityReferenceCount = (
  entities: string[],
  reference: { entity: string; entityId: string }
) => {
  const multipleEntityReferenceFields =
Severity: Minor
Found in src/frontend/hooks/data/data.store.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status