Skip to content

Add optional layer visibility change callback #3229

Add optional layer visibility change callback

Add optional layer visibility change callback #3229

Triggered via pull request November 7, 2024 10:48
Status Failure
Total duration 1m 0s
Artifacts

on-pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
build: src/LayerTree/LayerTree.tsx#L258
React Hook useCallback has a missing dependency: 'onLayerVisibilityChanged'. Either include it or remove the dependency array. If 'onLayerVisibilityChanged' changes too often, find the parent component that defines it and wrap that definition in useCallback
build
Process completed with exit code 1.