diff options
author | Hailey <me@haileyok.com> | 2024-12-18 10:58:26 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-18 10:58:26 -0800 |
commit | 5c4f870898a7f41c2b7cb554c1b585309ec3d3c9 (patch) | |
tree | 40569b1cea14d8636888d4e1f382d4425a2c1b9c /src/state/queries/trending/useTrendingTopics.ts | |
parent | 3481d165770cd09422133b4b704483be43bb8cba (diff) | |
download | voidsky-5c4f870898a7f41c2b7cb554c1b585309ec3d3c9.tar.zst |
change stale time to three minutes (#7158)
Diffstat (limited to 'src/state/queries/trending/useTrendingTopics.ts')
-rw-r--r-- | src/state/queries/trending/useTrendingTopics.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state/queries/trending/useTrendingTopics.ts b/src/state/queries/trending/useTrendingTopics.ts index 310f64e9f..6d3580a8f 100644 --- a/src/state/queries/trending/useTrendingTopics.ts +++ b/src/state/queries/trending/useTrendingTopics.ts @@ -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({ |