Skip to content

Commit

Permalink
docs(firestore, pagination): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehardy committed May 14, 2022
1 parent 50e9cc1 commit 0205506
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/firestore/pagination.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const App: () => Node = () => {
console.log('LOAD');
let query = userCollection.orderBy('age'); // sort the data
if (lastDocument !== undefined) {
query = query..startAfter(lastDocument); // fetch data following the last document accessed
query = query.startAfter(lastDocument); // fetch data following the last document accessed
}
query.limit(3) // limit to your page size, 3 is just an example
.get()
Expand Down Expand Up @@ -121,7 +121,7 @@ const App: () => Node = () => {
console.log('LOAD');
let query = userCollection.orderBy('age'); // sort the data
if (lastDocument !== undefined) {
query = query..startAfter(lastDocument); // fetch data following the last document accessed
query = query.startAfter(lastDocument); // fetch data following the last document accessed
}
query.limit(3) // limit to your page size, 3 is just an example
.get()
Expand Down

1 comment on commit 0205506

@vercel
Copy link

@vercel vercel bot commented on 0205506 May 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.