From a5f54580a9a069d824ac0c52149682d34349ddfc Mon Sep 17 00:00:00 2001 From: tamaina Date: Sun, 22 Jan 2023 12:57:51 +0000 Subject: [PATCH] fix --- packages/frontend/src/components/global/MkEmoji.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/components/global/MkEmoji.vue b/packages/frontend/src/components/global/MkEmoji.vue index 93f50da20e..691392d732 100644 --- a/packages/frontend/src/components/global/MkEmoji.vue +++ b/packages/frontend/src/components/global/MkEmoji.vue @@ -32,7 +32,7 @@ const url = computed(() => { if (char.value) { return char2path(char.value); } else if (props.host == null && !customEmojiName.includes('@')) { - const found = customEmojis.find(x => x.name === customEmojiName); + const found = customEmojis.value.find(x => x.name === customEmojiName); return found ? found.url : null; } else { const rawUrl = props.host ? `/emoji/${customEmojiName}@${props.host}.webp` : `/emoji/${customEmojiName}.webp`;