undergroundwires/privacy.sexy

View on GitHub
src/presentation/components/Shared/Hooks/UseCollectionState.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function useCollectionState has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function useCollectionState(
  context: IApplicationContext,
  events: IEventSubscriptionCollection,
) {
  const currentState = shallowRef<IReadOnlyCategoryCollectionState>(context.state);
Severity: Minor
Found in src/presentation/components/Shared/Hooks/UseCollectionState.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status