From 3c4af4f5ea9208382d3808021526c757ded725c4 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Mon, 16 Jan 2023 11:21:38 +0100 Subject: [PATCH] chore: reduce size --- components/search/SearchEmojiInfo.vue | 15 ++++----------- components/tiptap/TiptapEmojiList.vue | 9 +++++++-- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/components/search/SearchEmojiInfo.vue b/components/search/SearchEmojiInfo.vue index 82aa5807..c7a5ee56 100644 --- a/components/search/SearchEmojiInfo.vue +++ b/components/search/SearchEmojiInfo.vue @@ -1,6 +1,4 @@ diff --git a/components/tiptap/TiptapEmojiList.vue b/components/tiptap/TiptapEmojiList.vue index 56fdb320..cd58eee4 100644 --- a/components/tiptap/TiptapEmojiList.vue +++ b/components/tiptap/TiptapEmojiList.vue @@ -3,7 +3,7 @@ import { getEmojiMatchesInText } from '@iconify/utils/lib/emoji/replace/find' import CommonScrollIntoView from '../common/CommonScrollIntoView.vue' import type { CustomEmoji, Emoji } from '~~/composables/tiptap/suggestion' import { isCustomEmoji } from '~~/composables/tiptap/suggestion' -import { emojiFilename, emojiPrefix, emojiRegEx, getEmojiAttributes } from '~~/config/emojis' +import { emojiFilename, emojiPrefix, emojiRegEx } from '~~/config/emojis' const { items, command } = defineProps<{ items: (CustomEmoji | Emoji)[] @@ -68,7 +68,12 @@ defineExpose({