diff --git a/app/soapbox/components/emoji-button-wrapper.tsx b/app/soapbox/components/emoji-button-wrapper.tsx index b5e524255d..5ecc81ee29 100644 --- a/app/soapbox/components/emoji-button-wrapper.tsx +++ b/app/soapbox/components/emoji-button-wrapper.tsx @@ -54,10 +54,6 @@ const EmojiButtonWrapper: React.FC = ({ statusId, children setVisible(false); }; - const handleUnfocus = () => { - setVisible(false); - }; - const handleReact = (emoji: string): void => { if (ownAccount) { dispatch(simpleEmojiReact(status, emoji)); @@ -114,7 +110,6 @@ const EmojiButtonWrapper: React.FC = ({ statusId, children
{React.cloneElement(children, { onClick: handleClick, - onBlur: handleUnfocus, ref: setReferenceElement, })}