From 0b769d67acbac5133b8ee66dcc5be63cf6fda0ae Mon Sep 17 00:00:00 2001 From: Stefan Ionita Date: Mon, 23 Jan 2023 16:14:30 -0500 Subject: [PATCH] Update README.md fixes typo and removes repeated word --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index aa388d6e..31b5283f 100644 --- a/README.md +++ b/README.md @@ -644,7 +644,7 @@ Y.applyUpdate(ydoc2, state1) This example shows how to sync two clients with the minimal amount of exchanged data by computing only the differences using the state vector of the remote client. Syncing clients using the state vector requires another roundtrip, but -can safe a lot of bandwidth. +can save a lot of bandwidth. ```js const stateVector1 = Y.encodeStateVector(ydoc1) @@ -733,7 +733,7 @@ pos.index === 2 // => true ### Y.UndoManager -Yjs ships with an Undo/Redo manager for selective undo/redo of of changes on a +Yjs ships with an Undo/Redo manager for selective undo/redo of changes on a Yjs type. The changes can be optionally scoped to transaction origins. ```js