Share scenario modulation #49
Annotations
10 errors and 3 warnings
build:
src/components/GravitySimulator/GravitySimulator.tsx#L2
'Force' is defined but never used
|
build:
src/components/GravitySimulator/GravitySimulator.tsx#L48
'SimulationScenario' is defined but never used
|
build:
src/components/GravitySimulator/GravitySimulator.tsx#L351
'trails' is defined but never used
|
build:
src/components/GravitySimulator/GravitySimulator.tsx#L351
'force' is defined but never used
|
build:
src/components/GravitySimulator/GravitySimulator.tsx#L372
'trails' is defined but never used
|
build:
src/components/GravitySimulator/GravitySimulator.tsx#L372
'force' is defined but never used
|
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/GravitySimulator/GravitySimulator.tsx#L106
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#L126
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|