sanity-plugin-shopify-assets

2.0.52.0.6
dist/index.js
~dist/index.jsModified
+1−1
Index: package/dist/index.js
===================================================================
--- package/dist/index.js
+++ package/dist/index.js
@@ -513,9 +513,9 @@
 			}),
 			/* @__PURE__ */ jsx(InfiniteScroll, {
 				dataLength: searchResults.length,
 				next: handleScollerLoadMore,
-				hasMore: pageInfo ? pageInfo?.hasNextPage : !0,
+				hasMore: !pageInfo || pageInfo?.hasNextPage,
 				scrollThreshold: .99,
 				height: "60vh",
 				loader: /* @__PURE__ */ jsx(Flex, {
 					align: "center",