Skip to content

Vector controller

Vector controller #98

Triggered via pull request December 10, 2024 22:00
Status Success
Total duration 53s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build: src/components/GravitySimulator/GravitySimulator.tsx#L180
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
build: src/components/GravitySimulator/GravitySimulator.tsx#L191
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
build: src/components/GravitySimulator/GravitySimulator.tsx#L577
React Hook useEffect has missing dependencies: 'createParticle', 'gravityPoints', 'gravityRef', 'handlePointDelete', 'handleSelectScenario', 'isFullscreen', 'isPaused', 'onApiReady', 'particles', 'physicsConfig', 'toggleFullscreen', and 'updateSettings'. Either include them or remove the dependency array. If 'onApiReady' changes too often, find the parent component that defines it and wrap that definition in useCallback
build: src/components/ParticleRenderer/ParticleRenderer.tsx#L243
React Hook useEffect has a missing dependency: 'MAX_TRAIL_POINTS'. Either include it or remove the dependency array
build: src/contexts/SettingsContext.tsx#L172
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components