1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

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
parent d6015029e2
commit ca30b5b3ef

View file

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