mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
assertion fix
This commit is contained in:
parent
c503fd244e
commit
4a399a3b28
@ -194,8 +194,7 @@ export function simulationAddData(data: SimulationData) {
|
||||
}
|
||||
|
||||
export function simulationFinishData() {
|
||||
assert(gChatManager, 'Expected to have an active chat');
|
||||
gChatManager.finishSimulationData();
|
||||
gChatManager?.finishSimulationData();
|
||||
}
|
||||
|
||||
let gLastUserSimulationData: SimulationData | undefined;
|
||||
|
Loading…
Reference in New Issue
Block a user