Add optional layer visibility change callback #3229
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.
|