Skip to content

Commit d39e0ba

Browse files
cheooooljamesdaniels
authored andcommitted
docs(rtdb): Delete extraneous semicolons in samples (#1284)
1 parent d71b42d commit d39e0ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/rtdb/querying-lists.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ When we call [`switchMap` on the Subject](https://www.learnrxjs.io/operators/tra
5656
```ts
5757
const size$ = new Subject<string>();
5858
const queryObservable = size$.switchMap(size =>
59-
db.list('/items', ref => ref.orderByChild('size').equalTo(size)).valueChanges();
59+
db.list('/items', ref => ref.orderByChild('size').equalTo(size)).valueChanges()
6060
);
6161

6262
// subscribe to changes
@@ -118,7 +118,7 @@ export class AppComponent {
118118
this.items$ = this.size$.switchMap(size =>
119119
db.list('/items', ref =>
120120
size ? ref.orderByChild('size').equalTo(size) : ref
121-
).snapshotChanges();
121+
).snapshotChanges()
122122
);
123123
}
124124
filterBy(size: string|null) {

0 commit comments

Comments
 (0)