diff --git a/shared/js/ui/react-elements/ChatBox.tsx b/shared/js/ui/react-elements/ChatBox.tsx index f2c5803c..074e1646 100644 --- a/shared/js/ui/react-elements/ChatBox.tsx +++ b/shared/js/ui/react-elements/ChatBox.tsx @@ -59,21 +59,24 @@ const EmojiButton = (props: { events: Registry }) => { {""}
- { - if(enabled) { - props.events.fire("action_insert_text", { text: emoji.native, focus: true }); - } - }} - /> + onSelect={(emoji: any) => { + if(enabled) { + props.events.fire("action_insert_text", { text: emoji.native, focus: true }); + } + }} + /> + }
);