dont invalidate profile queries if they are only for display name resolution
This commit is contained in:
parent
a8d267e972
commit
30b06c1d9e
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue