From d4c3322c3263767bb07bbe5e1f631d0f4a4ba946 Mon Sep 17 00:00:00 2001 From: Gerzon Z Date: Sat, 21 Aug 2021 02:02:25 -0400 Subject: [PATCH] Update Mention component --- app/containers/markdown/MessageBody/Mention.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/containers/markdown/MessageBody/Mention.js b/app/containers/markdown/MessageBody/Mention.js index 1906eed41..f3bbed12c 100644 --- a/app/containers/markdown/MessageBody/Mention.js +++ b/app/containers/markdown/MessageBody/Mention.js @@ -22,9 +22,7 @@ const Mention = ({ }, ...style ]; - } - - if (mention === mentionedUser) { + } else if (mention === mentionedUser) { mentionStyle = { color: themes[theme].mentionMeColor };