dont invalidate profile queries if they are only for display name resolution

zio/stable
Hailey 2024-01-29 18:38:04 -08:00
parent a8d267e972
commit 30b06c1d9e
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ export function UserInfoText({
attr = attr || 'handle' attr = attr || 'handle'
failed = failed || 'user' failed = failed || 'user'
const {data: profile, isError} = useProfileQuery({did}) const {data: profile, isError} = useProfileQuery({did, dontInvalidate: true})
let inner let inner
if (isError) { if (isError) {