@tanstack/query-core
Advanced tools
Comparing version 5.56.1 to 5.56.2
@@ -70,3 +70,3 @@ import "./chunk-2HYBKCYP.js"; | ||
const param = currentPage === 0 ? oldPageParams[0] ?? options.initialPageParam : getNextPageParam(options, result); | ||
if (param == null) { | ||
if (currentPage > 0 && param == null) { | ||
break; | ||
@@ -73,0 +73,0 @@ } |
@@ -67,3 +67,3 @@ // src/infiniteQueryBehavior.ts | ||
const param = currentPage === 0 ? oldPageParams[0] ?? options.initialPageParam : getNextPageParam(options, result); | ||
if (param == null) { | ||
if (currentPage > 0 && param == null) { | ||
break; | ||
@@ -70,0 +70,0 @@ } |
{ | ||
"name": "@tanstack/query-core", | ||
"version": "5.56.1", | ||
"version": "5.56.2", | ||
"description": "The framework agnostic core that powers TanStack Query", | ||
@@ -5,0 +5,0 @@ "author": "tannerlinsley", |
@@ -102,3 +102,3 @@ import { addToEnd, addToStart, ensureQueryFn } from './utils' | ||
: getNextPageParam(options, result) | ||
if (param == null) { | ||
if (currentPage > 0 && param == null) { | ||
break | ||
@@ -105,0 +105,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2051386
29147