diff --git a/examples/yjs/app/y-electric.ts b/examples/yjs/app/y-electric.ts index f6245cf035..ef972301e4 100644 --- a/examples/yjs/app/y-electric.ts +++ b/examples/yjs/app/y-electric.ts @@ -316,7 +316,10 @@ export class ElectricProvider extends ObservableV2 { ) { this.synced = true - if (this.operationsStream?.lastOffset && this.operationsStream?.shapeHandle) { + if ( + this.operationsStream?.lastOffset && + this.operationsStream?.shapeHandle + ) { updateShapeState( `operations`, this.operationsStream.lastOffset, @@ -349,7 +352,10 @@ export class ElectricProvider extends ObservableV2 { } }) - if (this.awarenessStream?.lastOffset && this.awarenessStream?.shapeHandle) { + if ( + this.awarenessStream?.lastOffset && + this.awarenessStream?.shapeHandle + ) { updateShapeState( `awareness`, this.awarenessStream.lastOffset,