diff --git a/packages/messenger-widget/src/components/Message/Action.tsx b/packages/messenger-widget/src/components/Message/Action.tsx index c269a80f8..1a69cc355 100644 --- a/packages/messenger-widget/src/components/Message/Action.tsx +++ b/packages/messenger-widget/src/components/Message/Action.tsx @@ -12,6 +12,9 @@ export function Action(props: MessageProps) { const [isHovered, setIsHovered] = useState(false); const handleMouseOver = () => { + if (!props.envelop.metadata?.messageHash) { + return; + } setIsHovered(true); }; @@ -31,6 +34,7 @@ export function Action(props: MessageProps) {