Skip to content

Commit

Permalink
fix ignore provider
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgb committed Dec 18, 2024
1 parent 8391985 commit e703638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js-pkg/client/src/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ export class YSweetProvider {
return
}

if (this.indexedDBProvider && origin !== this.indexedDBProvider) {
if (this.indexedDBProvider && origin === this.indexedDBProvider) {
// Ignore updates from our own IndexedDB provider.
return
}
Expand Down

0 comments on commit e703638

Please sign in to comment.