Refacto: navigation tabs sidebar #2008
Annotations
11 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint the codebase:
components/bal/numero-editor.tsx#L265
React Hook useCallback has a missing dependency: 'onVoieChanged'. Either include it or remove the dependency array. If 'onVoieChanged' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Lint the codebase:
components/bal/numero-editor.tsx#L272
React Hook useCallback has a missing dependency: 'onVoieChanged'. Either include it or remove the dependency array. If 'onVoieChanged' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Lint the codebase:
components/bal/numero-editor/select-parcelles.tsx#L45
React Hook useEffect has missing dependencies: 'initialParcelles', 'setIsParcelleSelectionEnabled', and 'setSelectedParcelles'. Either include them or remove the dependency array
|
Lint the codebase:
components/bal/voies-list.tsx#L108
Assignments to the 'page' variable from inside React Hook useCallback will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useCallback
|
Lint the codebase:
components/map/hooks/hovered.ts#L97
React Hook useCallback has a missing dependency: 'handleRelatedFeatures'. Either include it or remove the dependency array
|
Lint the codebase:
components/map/hooks/hovered.ts#L113
React Hook useCallback has a missing dependency: 'handleRelatedFeatures'. Either include it or remove the dependency array
|
Lint the codebase:
components/map/map.tsx#L178
React Hook useCallback has a missing dependency: 'modeId'. Either include it or remove the dependency array
|
Lint the codebase:
components/map/map.tsx#L233
React Hook useCallback has a missing dependency: 'map'. Either include it or remove the dependency array
|
Lint the codebase:
components/map/map.tsx#L277
React Hook useEffect has a missing dependency: 'isTileSourceLoaded'. Either include it or remove the dependency array
|
Lint the codebase:
components/map/map.tsx#L322
React Hook useEffect has a missing dependency: 'router.asPath'. Either include it or remove the dependency array
|
Loading