dont invalidate profile queries if they are only for display name resolution
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user