Skip to content

Commit

Permalink
docs: fix "Example: Syncing clients without loading the Y.Doc" code
Browse files Browse the repository at this point in the history
  • Loading branch information
booxood committed May 17, 2023
1 parent 5db1eed commit 1ce1751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -753,7 +753,7 @@ const diff2 = Y.diffUpdate(currentState2, stateVector1)

// sync clients
currentState1 = Y.mergeUpdates([currentState1, diff2])
currentState1 = Y.mergeUpdates([currentState1, diff1])
currentState2 = Y.mergeUpdates([currentState2, diff1])
```

#### Obfuscating Updates
Expand Down

0 comments on commit 1ce1751

Please sign in to comment.