diff --git a/src/utils/emojify-text.js b/src/utils/emojify-text.js index 3c8cd43d..d6264175 100644 --- a/src/utils/emojify-text.js +++ b/src/utils/emojify-text.js @@ -8,7 +8,7 @@ function emojifyText(text, emojis = []) { const { shortcode, staticUrl, url } = emoji; text = text.replace( new RegExp(`:${shortcode}:`, 'g'), - `:${shortcode}:`, + `:${shortcode}:`, ); }); // console.log(text, emojis);