Skip to content

chore: cleanups commnets #10

chore: cleanups commnets

chore: cleanups commnets #10

Triggered via push February 16, 2025 02:11
Status Success
Total duration 1m 15s
Billable time 2m
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 warnings
build: src/components/video/VideoPlayer.tsx#L126
The ref value 'videoRef.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'videoRef.current' to a variable inside the effect, and use that variable in the cleanup function
build: src/hooks/game/useGameProvider.tsx#L163
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
build: src/hooks/video/useVideoSync.ts#L28
The 'videos' logical expression could make the dependencies of useEffect Hook (at line 34) change on every render. To fix this, wrap the initialization of 'videos' in its own useMemo() Hook