client/src/hooks/h3-data/contextual.ts
Function useAllContextualLayersData
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const useAllContextualLayersData = <T = { layerId: Layer['id'] } & H3APIResponse>(
options?: Omit<
UseQueryOptions<
{ layerId: Layer['id'] } & H3APIResponse,
ErrorResponse,
Function useH3ContextualData
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const useH3ContextualData = <T = H3APIResponse>(
id: Layer['id'],
options?: UseQueryOptions<
H3APIResponse,
ErrorResponse,