Skip to content

test: add missing tests for React hooks #495

test: add missing tests for React hooks

test: add missing tests for React hooks #495

Triggered via pull request September 26, 2024 16:40
Status Success
Total duration 1m 45s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
build: src/hooks/useOverflowCheck.ts#L23
The ref value 'ref.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'ref.current' to a variable inside the effect, and use that variable in the cleanup function
build: src/views/Recorder/Recorder.tsx#L168
React Hook useEffect has a missing dependency: 'navigate'. Either include it or remove the dependency array