Skip to content

T352298: Add custom tooltip #48

T352298: Add custom tooltip

T352298: Add custom tooltip #48

Triggered via pull request April 2, 2024 19:55
Status Success
Total duration 1m 14s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
build: src/link/edit.js#L200
React Hook useEffect has missing dependencies: 'handleTextEdit' and 'lastValue'. Either include them or remove the dependency array
build: src/link/edit.js#L210
React Hook useEffect has a missing dependency: 'customTooltipShowedNumber'. Either include it or remove the dependency array
build: src/link/inline.js#L42
React Hook useEffect has a missing dependency: 'value'. Either include it or remove the dependency array. If 'setTitle' needs the current value of 'value', you can also switch to useReducer instead of useState and read 'value' in the reducer
build: src/link/preview.js#L35
React Hook useCallback has a missing dependency: 'onForceClose'. Either include it or remove the dependency array. If 'onForceClose' changes too often, find the parent component that defines it and wrap that definition in useCallback
build: src/link/preview.js#L100
React Hook useLayoutEffect has a missing dependency: 'onForceClose'. Either include it or remove the dependency array
build: src/link/tooltip.js#L13
React Hook useEffect has a missing dependency: 'setShowCustomTooltip'. Either include it or remove the dependency array. If 'setShowCustomTooltip' changes too often, find the parent component that defines it and wrap that definition in useCallback