From 30b06c1d9ec45fb17c55840dafe8d3132fb3dc8b Mon Sep 17 00:00:00 2001 From: Hailey Date: Mon, 29 Jan 2024 18:38:04 -0800 Subject: [PATCH] dont invalidate profile queries if they are only for display name resolution --- src/view/com/util/UserInfoText.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view/com/util/UserInfoText.tsx b/src/view/com/util/UserInfoText.tsx index e5d2ceb0..1b75159a 100644 --- a/src/view/com/util/UserInfoText.tsx +++ b/src/view/com/util/UserInfoText.tsx @@ -29,7 +29,7 @@ export function UserInfoText({ attr = attr || 'handle' failed = failed || 'user' - const {data: profile, isError} = useProfileQuery({did}) + const {data: profile, isError} = useProfileQuery({did, dontInvalidate: true}) let inner if (isError) {