client/src/hooks/h3-data/material.ts
Function useH3MaterialData
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const useH3MaterialData = <T = H3APIResponse>(
params: Partial<MaterialH3APIParams> = {},
options: Partial<UseQueryOptions<H3APIResponse, AxiosError, T>> = {},
) => {
const colors = useColors('material', COLOR_RAMPS);