Vizzuality/landgriffon

View on GitHub
client/src/hooks/users/index.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

export const useUsers = (
  params: Record<string, unknown> = {},
  options: UseQueryOptions<UserPayload> = {},
) => {
  const queryOptions: UseQueryOptions<UserPayload> = {
Severity: Minor
Found in client/src/hooks/users/index.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status