We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8710bb9 + 08e2180 commit 1318061Copy full SHA for 1318061
packages/messenger-widget/src/components/Message/Action.tsx
@@ -12,6 +12,9 @@ export function Action(props: MessageProps) {
12
const [isHovered, setIsHovered] = useState(false);
13
14
const handleMouseOver = () => {
15
+ if (!props.envelop.metadata?.messageHash) {
16
+ return;
17
+ }
18
setIsHovered(true);
19
};
20
@@ -31,6 +34,7 @@ export function Action(props: MessageProps) {
31
34
<div
32
35
className={'msg-action-container d-flex pointer-cursor border-radius-3 position-relative'.concat(
33
36
' ',
37
+ !props.envelop.metadata?.messageHash ? 'invisible' : '',
38
selectedContact?.contactDetails.account.profile && !isMsgDeleted
39
? ''
40
: 'hide-action',
0 commit comments