diff --git a/shared/js/ui/react-elements/ChatBox.tsx b/shared/js/ui/react-elements/ChatBox.tsx index e3d133fa..6a95df67 100644 --- a/shared/js/ui/react-elements/ChatBox.tsx +++ b/shared/js/ui/react-elements/ChatBox.tsx @@ -30,7 +30,8 @@ interface ChatBoxEvents { } const LastUsedEmoji = () => { - return new Emoji({ id: 'smiley', set: 'native' }).component + const le = new Emoji({ id: 'smiley', set: 'native' }); + return le.component; }