Skip to content

Commit bc4e8d8

Browse files
committed
update state
1 parent aba6a57 commit bc4e8d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/runner.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export function evaluate(code) {
6969
.then((state) => {
7070
state.set('code', code);
7171
worker.postMessage({ type: 'evaluate', value: { code, state } });
72+
return updateState();
7273
});
7374
}
7475

0 commit comments

Comments
 (0)