Skip to content

Commit 6c3ef5b

Browse files
committed
update the comments
1 parent a3eadb4 commit 6c3ef5b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.changeset/warm-oranges-itch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'@firebase/firestore': patch
33
---
44

5-
Fix metadata `fromCache` default to `true` issue when listen to cache in multi-tabs.
5+
Fix an issue with metadata `fromCache` defaulting to `true` when listening to cache in multi-tabs.

packages/firestore/src/local/shared_client_state.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -682,8 +682,8 @@ export class WebStorageSharedClientState implements SharedClientState {
682682
}
683683
}
684684

685-
// If the query is listening to cache only, the target ID should not be registered the with
686-
// local Firestore client as active watch target.
685+
// If the query is listening to cache only, the target ID should not be registered with the
686+
// local Firestore client as an active watch target.
687687
if (addToActiveTargetIds) {
688688
this.localClientState.addQueryTarget(targetId);
689689
}

0 commit comments

Comments
 (0)