From ca30b5b3eff27ad83a7d1c50a9cb5fd851fae385 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 cd9bffc20da..cd1b463a0a8 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'];