diff --git a/apps/web/src/hooks/useFeed.tsx b/apps/web/src/hooks/useFeed.tsx index 826b4a8c..30820024 100644 --- a/apps/web/src/hooks/useFeed.tsx +++ b/apps/web/src/hooks/useFeed.tsx @@ -9,7 +9,7 @@ export const useFeedQuery = (limit = 114) => client.get("/xrpc/app.rocksky.scrobble.getScrobbles", { params: { limit }, }), - refetchInterval: 5000, + // refetchInterval: 5000, select: (res) => res.data.scrobbles || [], }); diff --git a/apps/web/src/hooks/useNowPlaying.tsx b/apps/web/src/hooks/useNowPlaying.tsx index f9b2fd82..5f137f5d 100644 --- a/apps/web/src/hooks/useNowPlaying.tsx +++ b/apps/web/src/hooks/useNowPlaying.tsx @@ -24,6 +24,6 @@ export const useNowPlayingsQuery = () => "/xrpc/app.rocksky.feed.getNowPlayings", { params: { size: 7 } } ), - refetchInterval: 5000, + // refetchInterval: 5000, select: (res) => res.data.nowPlayings || [], }); diff --git a/apps/web/src/hooks/useProfile.tsx b/apps/web/src/hooks/useProfile.tsx index 5cc30b80..9f52dad3 100644 --- a/apps/web/src/hooks/useProfile.tsx +++ b/apps/web/src/hooks/useProfile.tsx @@ -20,7 +20,7 @@ export const useProfileStatsByDidQuery = (did: string) => queryKey: ["profile", "stats", did], queryFn: () => getProfileStatsByDid(did), enabled: !!did, - refetchInterval: 4500, + // refetchInterval: 4500, }); export const useRecentTracksByDidQuery = (did: string, offset = 0, size = 10) =>