A decentralized music tracking and discovery platform built on AT Protocol 🎵

[web] disable refetchinterval

+3 -3
+1 -1
apps/web/src/hooks/useFeed.tsx
··· 9 9 client.get("/xrpc/app.rocksky.scrobble.getScrobbles", { 10 10 params: { limit }, 11 11 }), 12 - refetchInterval: 5000, 12 + // refetchInterval: 5000, 13 13 select: (res) => res.data.scrobbles || [], 14 14 }); 15 15
+1 -1
apps/web/src/hooks/useNowPlaying.tsx
··· 24 24 "/xrpc/app.rocksky.feed.getNowPlayings", 25 25 { params: { size: 7 } } 26 26 ), 27 - refetchInterval: 5000, 27 + // refetchInterval: 5000, 28 28 select: (res) => res.data.nowPlayings || [], 29 29 });
+1 -1
apps/web/src/hooks/useProfile.tsx
··· 20 20 queryKey: ["profile", "stats", did], 21 21 queryFn: () => getProfileStatsByDid(did), 22 22 enabled: !!did, 23 - refetchInterval: 4500, 23 + // refetchInterval: 4500, 24 24 }); 25 25 26 26 export const useRecentTracksByDidQuery = (did: string, offset = 0, size = 10) =>