From d8af4935076230ce99bc84b02d1dfd5ad4877362 Mon Sep 17 00:00:00 2001 From: akamefi202 Date: Fri, 22 Sep 2023 16:22:01 -0400 Subject: [PATCH] update mention suggestion --- src/pages/home/report/ReportActionCompose/SuggestionMention.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/home/report/ReportActionCompose/SuggestionMention.js b/src/pages/home/report/ReportActionCompose/SuggestionMention.js index a76025b67b1e..08afc8179626 100644 --- a/src/pages/home/report/ReportActionCompose/SuggestionMention.js +++ b/src/pages/home/report/ReportActionCompose/SuggestionMention.js @@ -199,7 +199,7 @@ function SuggestionMention({ } const leftString = value.substring(0, indexOfLastNonWhitespaceCharAfterTheCursor); - const words = leftString.split(CONST.REGEX.SPECIAL_CHAR_OR_EMOJI); + const words = leftString.split(CONST.REGEX.SPACE_OR_EMOJI); const lastWord = _.last(words); let atSignIndex;