Skip to content

Commit e02a457

Browse files
committed
fix error
1 parent 1fd19ae commit e02a457

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/App.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,10 @@ function App() {
398398
});
399399
handleNewInputConcentration(
400400
adjustableAgentName,
401-
concentrations[AgentName.B] ?? LiveSimulationData.INITIAL_CONCENTRATIONS[AgentName.B]
401+
concentrations[AgentName.B] ??
402+
LiveSimulationData.INITIAL_CONCENTRATIONS[Module.A_B_AB][
403+
AgentName.B
404+
]
402405
);
403406
setIsPlaying(false);
404407
clearAllAnalysisState();

0 commit comments

Comments
 (0)