From 9d94b32448219b9510edc314546525a01ac1d410 Mon Sep 17 00:00:00 2001 From: taichi221228 Date: Thu, 2 May 2024 11:25:55 +0900 Subject: [PATCH] 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. --- app/javascript/mastodon/features/emoji/emoji_utils.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/javascript/mastodon/features/emoji/emoji_utils.ts b/app/javascript/mastodon/features/emoji/emoji_utils.ts index cd9bffc20d..cd1b463a0a 100644 --- a/app/javascript/mastodon/features/emoji/emoji_utils.ts +++ b/app/javascript/mastodon/features/emoji/emoji_utils.ts @@ -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'];