sparkletown/sparkle

View on GitHub
src/hooks/useVenueUserStatuses.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function useVenueUserStatuses has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const useVenueUserStatuses = (user?: WithId<User>) => {
  const { sovereignVenue } = useRelatedVenues();
  const { userId, profile } = useUser();

  // @debt replace this with useAsync / useAsyncFn / similar
Severity: Minor
Found in src/hooks/useVenueUserStatuses.ts - About 1 hr to fix

There are no issues that match your filters.

Category
Status