Remove unused JSON constant from emoji utilities

The unused constant `_JSON` was removed from the `emoji_utils.ts` file. This decluttering enhances the manageability and readability of the code.
This commit is contained in:
taichi221228 2024-05-02 11:25:55 +09:00 committed by Eugen Rochko
parent a172892470
commit 9d94b32448

View File

@ -40,8 +40,6 @@ const buildSearch = (data: Data) => {
return search.join(','); return search.join(',');
}; };
const _JSON = JSON;
const COLONS_REGEX = /^(?::([^:]+):)(?::skin-tone-(\d):)?$/; const COLONS_REGEX = /^(?::([^:]+):)(?::skin-tone-(\d):)?$/;
const SKINS = ['1F3FA', '1F3FB', '1F3FC', '1F3FD', '1F3FE', '1F3FF']; const SKINS = ['1F3FA', '1F3FB', '1F3FC', '1F3FD', '1F3FE', '1F3FF'];