diff --git a/packages/pl-fe/src/components/ui/emoji.tsx b/packages/pl-fe/src/components/ui/emoji.tsx index 023f27322..9518e1b96 100644 --- a/packages/pl-fe/src/components/ui/emoji.tsx +++ b/packages/pl-fe/src/components/ui/emoji.tsx @@ -26,7 +26,11 @@ const Emoji: React.FC = (props): JSX.Element | null => { if (!filename && !src) return null; if (src) { - if (disableUserProvidedMedia) return <>{alt || emoji}; + if (disableUserProvidedMedia) return ( + <> + {alt || {emoji}} + + ); return ( = (props): JSX.Element | null => { ); } - if (systemEmojiFont) return <>{emoji}; + if (systemEmojiFont) return {emoji}; return (