DEV: Apply code review.

This commit is contained in:
Bianca Nenciu
2018-12-04 14:07:13 +02:00
committed by Régis Hanol
parent 79d987e483
commit a8e8473ea5
2 changed files with 10 additions and 5 deletions

View File

@@ -195,7 +195,7 @@ function applyEmoji(
for (i = 0; i < content.length - 1; i++) {
let offset = 0;
let emojiName = getEmojiName(content, i, state, inlineEmoji);
const emojiName = getEmojiName(content, i, state, inlineEmoji);
let token = null;
if (emojiName) {