diff --git a/web/chat/composed-message.react.js b/web/chat/composed-message.react.js
--- a/web/chat/composed-message.react.js
+++ b/web/chat/composed-message.react.js
@@ -141,6 +141,8 @@
inlineEngagement = (
) => {
+ (event: SyntheticEvent, reaction: string) => {
event.preventDefault();
- pushModal(
- ,
- );
+ sendReaction(reaction);
},
- [popModal, pushModal, reactions],
+ [sendReaction],
);
const reactionsList = React.useMemo(() => {
@@ -86,7 +104,7 @@
return (
onClickReaction(event, reaction)}
className={css.reactionContainer}
key={reaction}
>
diff --git a/web/chat/robotext-message.react.js b/web/chat/robotext-message.react.js
--- a/web/chat/robotext-message.react.js
+++ b/web/chat/robotext-message.react.js
@@ -37,12 +37,14 @@
};
function RobotextMessage(props: Props): React.Node {
let inlineEngagement;
- const { item } = props;
+ const { item, threadInfo } = props;
const { threadCreatedFromMessage, reactions } = item;
if (threadCreatedFromMessage || Object.keys(reactions).length > 0) {
inlineEngagement = (