Skip to content

Commit 960dd59

Browse files
fix: sample code with wrong reference (#3384)
Co-authored-by: David East <[email protected]>
1 parent dbbafbd commit 960dd59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
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)