Skip to content

Commit

Permalink
docs: Update paginated-queries.md (#7759)
Browse files Browse the repository at this point in the history
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
  • Loading branch information
Sanderand and TkDodo committed Jul 18, 2024
1 parent f1c4ce7 commit 98d127a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/framework/react/guides/paginated-queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function Todos() {
disabled={page === 0}
>
Previous Page
</button>{' '}
</button>
<button
onClick={() => {
if (!isPlaceholderData && data.hasMore) {
Expand All @@ -80,7 +80,7 @@ function Todos() {
>
Next Page
</button>
{isFetching ? <span> Loading...</span> : null}{' '}
{isFetching ? <span> Loading...</span> : null}
</div>
)
}
Expand Down

0 comments on commit 98d127a

Please sign in to comment.