@clerk/shared 3.25.0 → 3.26.0-canary.v20250916123724

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -170,7 +170,7 @@ var usePagesOrInfinite = (params, fetcher, config, cacheKeys) => {
170
170
  const shouldFetch = !triggerInfinite && enabled && (!cacheMode ? !!fetcher : true);
171
171
  const swrKey = isSignedIn ? pagesCacheKey : shouldFetch ? pagesCacheKey : null;
172
172
  const swrFetcher = !cacheMode && !!fetcher ? (cacheKeyParams) => {
173
- if (isSignedIn === false) {
173
+ if (isSignedIn === false || shouldFetch === false) {
174
174
  return null;
175
175
  }
176
176
  const requestParams = getDifferentKeys(cacheKeyParams, cacheKeys);