diff --git a/index.html b/index.html index 1e84695..91c6184 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ diff --git a/src/utils/useQuery.ts b/src/utils/useQuery.ts index 8accb97..e384c42 100644 --- a/src/utils/useQuery.ts +++ b/src/utils/useQuery.ts @@ -546,6 +546,8 @@ export function useInfiniteQueryFeedSkeleton(options: { queryFn, initialPageParam: undefined as never, getNextPageParam: (lastPage) => lastPage.cursor as null | undefined, + staleTime: Infinity, + refetchOnWindowFocus: false, enabled: !!options.feedUri && (options.isAuthed ? !!options.agent && !!options.pdsUrl && !!options.feedServiceDid : true), }); } \ No newline at end of file