mirror of
https://github.com/block/buzz.git
synced 2026-10-27 12:40:30 +00:00
Speed up profile wave action (#1379)
This commit is contained in:
@@ -150,8 +150,8 @@ export function useOpenDmMutation() {
|
||||
]),
|
||||
);
|
||||
},
|
||||
onSettled: async () => {
|
||||
await queryClient.invalidateQueries({ queryKey: channelsQueryKey });
|
||||
onSettled: () => {
|
||||
void queryClient.invalidateQueries({ queryKey: channelsQueryKey });
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
@@ -596,7 +596,7 @@ export function UserProfilePopover({
|
||||
<div className="flex gap-2">
|
||||
<Button
|
||||
aria-label="Wave"
|
||||
className="buzz-wave-hover-trigger shrink-0 px-3"
|
||||
className="buzz-wave-hover-trigger shrink-0 px-3 transition-transform duration-100 ease-out motion-reduce:transition-none motion-safe:active:scale-[0.97]"
|
||||
data-testid={`user-profile-popover-wave-${pubkey}`}
|
||||
disabled={
|
||||
pendingAction !== null || openDmMutation.isPending
|
||||
|
||||
Reference in New Issue
Block a user