Refactor sim #204
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#L248
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
|
build:
src/components/D3GravityVision/D3GravityVision.tsx#L289
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
|
build:
src/components/D3GravityVision/D3GravityVision.tsx#L360
React Hook useEffect has a missing dependency: 'settings'. Either include it or remove the dependency array
|
build:
src/components/GravityPoint/GravityPoint.tsx#L41
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
|
build:
src/components/GravitySimulator/GravitySimulator.tsx#L314
React Hook useCallback has a missing dependency: 'setIsFullscreen'. Either include it or remove the dependency array
|
build:
src/components/GravitySimulator/GravitySimulator.tsx#L324
React Hook useEffect has a missing dependency: 'setIsFullscreen'. Either include it or remove the dependency array
|
build:
src/components/GravitySimulator/GravitySimulator.tsx#L561
React Hook useCallback has a missing dependency: 'setIsFlashing'. Either include it or remove the dependency array
|
build:
src/components/GravitySimulator/GravitySimulator.tsx#L633
React Hook useEffect has missing dependencies: 'createParticle', 'gravityPoints', 'gravityRef', 'handleSelectScenario', 'isFullscreen', 'isPaused', 'onApiReady', 'particles', 'paths', 'physicsConfig', 'setGravityPoints', 'setIsColorInverted', 'setIsFullscreen', 'setIsPaused', 'setIsSimulationStarted', 'toggleFullscreen', '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/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
|