Skip to content

Share scenario modulation #50

Share scenario modulation

Share scenario modulation #50

Triggered via pull request November 27, 2024 18:21
Status Failure
Total duration 27s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 3 warnings
build: src/components/SaveScenarioModal/SaveScenarioModal.tsx#L3
'Scenario' is defined but never used
build: src/components/SaveScenarioModal/SaveScenarioModal.tsx#L4
'createShareableLink' is defined but never used
build: src/components/ScenarioPanel/ScenarioPanel.tsx#L24
'onClose' is defined but never used
build: src/components/SimulatorSettings/SimulatorSettings.tsx#L1
'useState' is defined but never used
build: src/components/SimulatorSettings/SimulatorSettings.tsx#L18
'onClose' is defined but never used
build
Process completed with exit code 1.
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#L38
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