Skip to content

Commit 960dd59

Browse files
fix: sample code with wrong reference (#3384)
Co-authored-by: David East <davideast@users.noreply.github.com>
1 parent dbbafbd commit 960dd59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export class AppComponent {
5656

5757
constructor() {
5858
const itemCollection = collection(this.firestore, 'items');
59-
this.item$ = collectionData(collection);
59+
this.item$ = collectionData(itemCollection);
6060
}
6161
}
6262
```

0 commit comments

Comments
 (0)