Skip to content

Commit

Permalink
docs(examples): fix bug in Vue infinite scroll example (#834)
Browse files Browse the repository at this point in the history
This fixes a ref not being accessed with it's `'value` accessor, causing a boolean check to always be truthy.
  • Loading branch information
BrianMitchL committed Sep 16, 2024
1 parent 54f2be6 commit 280dc3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/vue/infinite-scroll/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ watchEffect(() => {
if (
lastItem.index >= allRows.value.length - 1 &&
hasNextPage &&
hasNextPage.value &&
!isFetchingNextPage.value
) {
fetchNextPage()
Expand Down

0 comments on commit 280dc3b

Please sign in to comment.