We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79185e7 commit 3b57346Copy full SHA for 3b57346
1 file changed
README.md
@@ -46,7 +46,7 @@ interface Item {
46
selector: 'app-root',
47
template: `
48
<ul>
49
- @for (item of (item$ | async); track item) {
+ @for (item of (items$ | async); track item) {
50
<li>
51
{{ item.name }}
52
</li>
@@ -58,7 +58,7 @@ interface Item {
58
export class AppComponent {
59
firestore = inject(Firestore);
60
itemCollection = collection(this.firestore, 'items');
61
- item$ = collectionData<Item>(this.itemCollection);
+ items$ = collectionData<Item>(this.itemCollection);
62
}
63
```
64
0 commit comments