remove dead code

This commit is contained in:
ewwwwwwww 2022-07-05 10:36:48 -07:00
parent 891ce09443
commit 41eebfdbda

View file

@ -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);