Skip to content

minDist for vision grid (#85) #228

minDist for vision grid (#85)

minDist for vision grid (#85) #228

Triggered via push January 15, 2025 18:06
Status Success
Total duration 1m 7s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 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/D3GravityVision/D3GravityVision.tsx#L252
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
build: src/components/D3GravityVision/D3GravityVision.tsx#L293
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
build: src/components/D3GravityVision/D3GravityVision.tsx#L364
React Hook useEffect has a missing dependency: 'settings'. Either include it or remove the dependency array
build: src/components/GravityPoint/GravityPoint.tsx#L43
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
build: src/components/GravitySimulator/GravitySimulator.tsx#L487
React Hook useEffect has missing dependencies: 'createParticle', 'gravityPoints', 'gravityRef', 'handleFullscreenToggle', 'handleSelectScenario', 'isFullscreen', 'isPaused', 'onApiReady', 'particles', 'paths', 'physicsConfig', 'setGravityPoints', 'setIsColorInverted', 'setIsFullscreen', 'setIsPaused', 'setIsSimulationStarted', 'setParticles', 'updateSettings', and 'wrappedHandlePointDelete'. 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/GravitySimulator/GravitySimulator.tsx#L494
React Hook useEffect has a missing dependency: 'particlesRef'. Either include it or remove the dependency array
build: src/components/GravityVision/GravityVision.tsx#L231
React Hook useEffect has missing dependencies: 'gridLinesRef', 'lastDensityRef', 'lastShowVisionRef', 'lastWarpPointsKeyRef', and 'layerRef'. Either include them or remove the dependency array
build: src/components/GravityVision/GravityVision.tsx#L336
React Hook useEffect has missing dependencies: 'averageEffectiveMassRef', 'gridLinesRef', 'isPausedRef', 'lastWarpPointsKeyRef', and 'onFrameHandlerRef'. Either include them or remove the dependency array
build: src/components/ScenarioPanel/ScenarioPanel.tsx#L53
React Hook useEffect has missing dependencies: 'onSelectScenario' and 'searchParams'. Either include them or remove the dependency array. If 'onSelectScenario' changes too often, find the parent component that defines it and wrap that definition in useCallback
build: src/contexts/SettingsContext.tsx#L173
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components