diff --git a/p/db/index.js b/p/db/index.js index 8bf9e98d..2e49a675 100644 --- a/p/db/index.js +++ b/p/db/index.js @@ -285,7 +285,7 @@ const parseHint = (profile, h, icons) => { } const res = _parseHint(profile, h, icons) - if (h.txtN) { + if (res && h.txtN) { const text = trim(h.txtN.toLowerCase(), ' ()') if (codesByText[text]) res.code = codesByText[text] }