From 2fc5dd35b1cf48297613f7c7caba811f5248b431 Mon Sep 17 00:00:00 2001 From: klopez4212 Date: Tue, 30 Jun 2026 16:27:12 +0100 Subject: [PATCH] Speed up profile wave action (#1379) --- desktop/src/features/channels/hooks.ts | 4 ++-- desktop/src/features/profile/ui/UserProfilePopover.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/desktop/src/features/channels/hooks.ts b/desktop/src/features/channels/hooks.ts index 49ba1ea5e8..9885b6fb20 100644 --- a/desktop/src/features/channels/hooks.ts +++ b/desktop/src/features/channels/hooks.ts @@ -150,8 +150,8 @@ export function useOpenDmMutation() { ]), ); }, - onSettled: async () => { - await queryClient.invalidateQueries({ queryKey: channelsQueryKey }); + onSettled: () => { + void queryClient.invalidateQueries({ queryKey: channelsQueryKey }); }, }); } diff --git a/desktop/src/features/profile/ui/UserProfilePopover.tsx b/desktop/src/features/profile/ui/UserProfilePopover.tsx index be6b1f6c33..735c61c592 100644 --- a/desktop/src/features/profile/ui/UserProfilePopover.tsx +++ b/desktop/src/features/profile/ui/UserProfilePopover.tsx @@ -596,7 +596,7 @@ export function UserProfilePopover({