Skip to content

Share scenario modulation #51

Share scenario modulation

Share scenario modulation #51

Triggered via pull request November 27, 2024 18:25
Status Success
Total duration 58s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 warnings
build: src/components/GravitySimulator/GravitySimulator.tsx#L100
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
build: src/components/ScenarioPanel/ScenarioPanel.tsx#L37
React Hook useEffect has a missing dependency: 'onSelectScenario'. Either include it 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#L129
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components