Skip to content

fix: 修复 LayerPopup 警告问题 #1480

fix: 修复 LayerPopup 警告问题

fix: 修复 LayerPopup 警告问题 #1480

Triggered via push January 24, 2024 12:08
Status Failure
Total duration 2m 4s
Artifacts

lint.yml

on: push
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

1 error and 4 warnings
lint (16.x)
Process completed with exit code 1.
lint (16.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint (16.x): src/components/LayerPopup/index.tsx#L121
React Hook useMemo has missing dependencies: 'closeButtonOffsets', 'lngLat', and 'offsets'. Either include them or remove the dependency array
lint (16.x): src/components/LayerPopup/utils.ts#L3
Unable to resolve path to module 'react-dom/client'
lint (16.x): src/components/Legend/LegendRamp/index.tsx#L9
'getMinMax' is assigned a value but never used