Action Message: Fix exceptions when embedded (#2149)

This commit is contained in:
Alexander Zinchuk 2022-11-19 07:41:43 +04:00
parent 68aaf26b22
commit f152ee691f

View File

@ -156,7 +156,7 @@ const ActionMessage: FC<OwnProps & StateProps> = ({
};
if (isEmbedded) {
return <span className="embedded-action-message">{content}</span>;
return <span ref={ref} className="embedded-action-message">{content}</span>;
}
function renderGift() {