Skip to content

Commit 1dde529

Browse files
christianalfoniCompuIves
authored andcommitted
fix missing operation (codesandbox#2434)
1 parent 6314c3d commit 1dde529

File tree

1 file changed

+1
-1
lines changed
  • packages/app/src/app/overmind/effects/live

1 file changed

+1
-1
lines changed

packages/app/src/app/overmind/effects/live/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export default {
175175
}
176176

177177
try {
178-
clients.get(moduleShortid).applyClient(TextOperation.fromJSON());
178+
clients.get(moduleShortid).applyClient(operation);
179179
} catch (e) {
180180
// Something went wrong, probably a sync mismatch. Request new version
181181
console.error(

0 commit comments

Comments
 (0)