Closed FriMay closed 3 years ago
@FriMay You're getting this error because oldDoc
is a reference to an object that has since been modified by the call to .change
. If you want to make a copy of that document, you can replace the second line with:
const oldDoc = Automerge.clone(doc)
Okay, thank you very match!
Versions: