Skip to content

Commit 0205506

Browse files
committed
docs(firestore, pagination): fix typo
1 parent 50e9cc1 commit 0205506

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/firestore/pagination.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const App: () => Node = () => {
5151
console.log('LOAD');
5252
let query = userCollection.orderBy('age'); // sort the data
5353
if (lastDocument !== undefined) {
54-
query = query..startAfter(lastDocument); // fetch data following the last document accessed
54+
query = query.startAfter(lastDocument); // fetch data following the last document accessed
5555
}
5656
query.limit(3) // limit to your page size, 3 is just an example
5757
.get()
@@ -121,7 +121,7 @@ const App: () => Node = () => {
121121
console.log('LOAD');
122122
let query = userCollection.orderBy('age'); // sort the data
123123
if (lastDocument !== undefined) {
124-
query = query..startAfter(lastDocument); // fetch data following the last document accessed
124+
query = query.startAfter(lastDocument); // fetch data following the last document accessed
125125
}
126126
query.limit(3) // limit to your page size, 3 is just an example
127127
.get()

0 commit comments

Comments
 (0)