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 };