diff --git a/infinite/index.ts b/infinite/index.ts index 51894a506..36a7f3db6 100644 --- a/infinite/index.ts +++ b/infinite/index.ts @@ -68,6 +68,7 @@ export const infinite = ((useSWRNext: SWRHook) => if (infiniteKey) infiniteKey = INFINITE_PREFIX + infiniteKey } catch (err) { // Not ready yet. + console.error(err) } const [get, set, subscribeCache] = createCacheHelper<