Skip to content

Commit 54ba246

Browse files
committed
Fix bug
1 parent 46868ae commit 54ba246

File tree

1 file changed

+1
-1
lines changed
  • packages/app/src/app/overmind/namespaces/editor

1 file changed

+1
-1
lines changed

packages/app/src/app/overmind/namespaces/editor/actions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ export const codeChanged: Action<{
324324
if (state.live.isLive && module.code !== code) {
325325
let operation;
326326
if (event) {
327-
operation = eventToTransform(event, code);
327+
operation = eventToTransform(event, code).operation;
328328
} else {
329329
const transform = getTextOperation(module.code, code);
330330

0 commit comments

Comments
 (0)