diff --git a/src/state/queries/profile.ts b/src/state/queries/profile.ts index 0383de3385..19632a8e67 100644 --- a/src/state/queries/profile.ts +++ b/src/state/queries/profile.ts @@ -22,6 +22,7 @@ export const RQKEY = (did: string) => ['profile', did] export function useProfileQuery({did}: {did: string | undefined}) { const {agent} = useSession() return useQuery({ + staleTime: 1000 * 60, queryKey: RQKEY(did || ''), queryFn: async () => { const res = await agent.getProfile({actor: did || ''})