Skip to content

Pulsar test scenario #72

Pulsar test scenario

Pulsar test scenario #72

Triggered via pull request November 30, 2024 14:26
Status Success
Total duration 47s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
build: src/components/GravitySimulator/GravitySimulator.tsx#L159
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
build: src/components/GravitySimulator/GravitySimulator.tsx#L170
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
build: src/components/GravitySimulator/GravitySimulator.tsx#L206
React Hook useEffect has missing dependencies: 'offset.x' and 'offset.y'. Either include them or remove the dependency array
build: src/components/GravitySimulator/GravitySimulator.tsx#L271
React Hook useCallback has an unnecessary dependency: 'offset'. Either exclude it or remove the dependency array
build: src/components/GravitySimulator/GravitySimulator.tsx#L576
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/contexts/SettingsContext.tsx#L150
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components