Skip to content

Commit

Permalink
fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAMathews committed Dec 9, 2024
1 parent dae3b0d commit 925366f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions examples/yjs/app/y-electric.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,10 @@ export class ElectricProvider extends ObservableV2<ObservableProvider> {
) {
this.synced = true

if (this.operationsStream?.lastOffset && this.operationsStream?.shapeHandle) {
if (
this.operationsStream?.lastOffset &&
this.operationsStream?.shapeHandle
) {
updateShapeState(
`operations`,
this.operationsStream.lastOffset,
Expand Down Expand Up @@ -349,7 +352,10 @@ export class ElectricProvider extends ObservableV2<ObservableProvider> {
}
})

if (this.awarenessStream?.lastOffset && this.awarenessStream?.shapeHandle) {
if (
this.awarenessStream?.lastOffset &&
this.awarenessStream?.shapeHandle
) {
updateShapeState(
`awareness`,
this.awarenessStream.lastOffset,
Expand Down

0 comments on commit 925366f

Please sign in to comment.