remove dead code
This commit is contained in:
parent
891ce09443
commit
41eebfdbda
1 changed files with 1 additions and 5 deletions
|
@ -99,11 +99,7 @@ export const emojifyText = (str: string, customEmojis = {}) => {
|
|||
let stack = '';
|
||||
let open = false;
|
||||
|
||||
for (let c of split(str)) {
|
||||
if (c.codePointAt(1) === 65038) {
|
||||
c = String.fromCodePoint(c.codePointAt(0) as number);
|
||||
}
|
||||
|
||||
for (const c of split(str)) {
|
||||
if (c in unicodeMapping) {
|
||||
if (open) { // unicode emoji inside colon
|
||||
buf += popStack(stack, open);
|
||||
|
|
Loading…
Reference in a new issue