Vizzuality/landgriffon

View on GitHub
client/src/hooks/h3-data/material.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function useH3MaterialData has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const useH3MaterialData = <T = H3APIResponse>(
  params: Partial<MaterialH3APIParams> = {},
  options: Partial<UseQueryOptions<H3APIResponse, AxiosError, T>> = {},
) => {
  const colors = useColors('material', COLOR_RAMPS);
Severity: Minor
Found in client/src/hooks/h3-data/material.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status