sparkletown/sparkle

View on GitHub
src/hooks/useRoles.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function useRoles has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const useRoles = () => {
  const { user } = useUser();

  useFirestoreConnect(
    user
Severity: Minor
Found in src/hooks/useRoles.ts - About 1 hr to fix

There are no issues that match your filters.

Category
Status