From 9c9e741931f9e7596b12a8d1d9b816cf968cd2ae Mon Sep 17 00:00:00 2001 From: mkljczk Date: Tue, 4 Mar 2025 20:54:00 +0100 Subject: [PATCH] pl-fe: zoom in emojis on hover Signed-off-by: mkljczk --- packages/pl-fe/src/features/emoji/emojify.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/pl-fe/src/features/emoji/emojify.tsx b/packages/pl-fe/src/features/emoji/emojify.tsx index 3afd548bf..9549b04ef 100644 --- a/packages/pl-fe/src/features/emoji/emojify.tsx +++ b/packages/pl-fe/src/features/emoji/emojify.tsx @@ -21,7 +21,7 @@ const MaybeEmoji: React.FC = ({ text, emojis }) => { const filename = emoji.static_url; if (filename?.length > 0) { - return {text}; + return {text}; } } @@ -66,7 +66,7 @@ const Emojify: React.FC = React.memo(({ text, emojis = {} }) => { const { unified, shortcode } = unicodeMapping[c]; nodes.push( - {c}, + {c}, ); } else if (unqualified in unicodeMapping) { clearStack(); @@ -74,7 +74,7 @@ const Emojify: React.FC = React.memo(({ text, emojis = {} }) => { const { unified, shortcode } = unicodeMapping[unqualified]; nodes.push( - {unqualified}, + {unqualified}, ); } else if (c === ':') { if (!open) {