We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be63cd3 commit cc43257Copy full SHA for cc43257
src/json-crdt-repo/session/EditSession.ts
@@ -87,7 +87,7 @@ export class EditSession<N extends JsonNode = JsonNode<any>> {
87
const length = patches.length;
88
// TODO: After async call check that sync state is still valid. New patches, might have been added.
89
if (length || this.cursor === undefined) {
90
- let time = this.start.clock.time - 1;
+ const time = this.start.clock.time - 1;
91
const res = await this.repo.sync({
92
id: this.id,
93
patches,
0 commit comments