diff options
author | Kuwa Lee <kuwalee1069@gmail.com> | 2024-06-13 15:29:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-13 15:29:51 +0800 |
commit | ecd51bc6f9f7d755eb023c3d336c21ea5b1583e5 (patch) | |
tree | 0079550833142d4842a6e7bcff4d1540bad18870 /src/state/queries | |
parent | bd8f0e5a1c3a49b3f134081475f90473b87111b1 (diff) | |
parent | 7faa1d9131fc28e1c0acd4b4c7b7c2bbeabc2281 (diff) | |
download | voidsky-ecd51bc6f9f7d755eb023c3d336c21ea5b1583e5.tar.zst |
Merge branch 'bluesky-social:main' into zh
Diffstat (limited to 'src/state/queries')
-rw-r--r-- | src/state/queries/profile.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/state/queries/profile.ts b/src/state/queries/profile.ts index 7cc9f6911..6f7f2de79 100644 --- a/src/state/queries/profile.ts +++ b/src/state/queries/profile.ts @@ -94,6 +94,7 @@ export function usePrefetchProfileQuery() { const prefetchProfileQuery = useCallback( async (did: string) => { await queryClient.prefetchQuery({ + staleTime: STALE.SECONDS.THIRTY, queryKey: RQKEY(did), queryFn: async () => { const res = await agent.getProfile({actor: did || ''}) |