Skip to content

Commit

Permalink
Update paginated-queries.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanderand authored Jul 18, 2024
1 parent ae8738a commit 55a3c64
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 55a3c64

Please sign in to comment.