Skip to content

fix: 修复 Layer 初始化后异步事件监听改为同步监听 #1403

fix: 修复 Layer 初始化后异步事件监听改为同步监听

fix: 修复 Layer 初始化后异步事件监听改为同步监听 #1403

Triggered via pull request September 27, 2023 02:46
Status Success
Total duration 2m 25s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

lint.yml

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

Annotations

4 warnings
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/LarkMap/hooks/use-scene-event/index.ts#L54
'a' is defined but never used
lint (16.x): src/components/LayerPopup/index.tsx#L120
React Hook useMemo has missing dependencies: 'closeButtonOffsets', 'lngLat', and 'offsets'. Either include them or remove the dependency array
lint (16.x): src/components/Legend/LegendRamp/index.tsx#L9
'getMinMax' is assigned a value but never used