change stale time to three minutes (#7158)

This commit is contained in:
Hailey
2024-12-18 10:58:26 -08:00
committed by GitHub
parent 3481d16577
commit 5c4f870898
2 changed files with 12 additions and 7 deletions
@@ -22,7 +22,7 @@ export function useTrendingTopics() {
return useQuery({
refetchOnWindowFocus: true,
staleTime: STALE.MINUTES.THIRTY,
staleTime: STALE.MINUTES.THREE,
queryKey: trendingTopicsQueryKey,
async queryFn() {
const {data} = await agent.api.app.bsky.unspecced.getTrendingTopics({