From 11f735b088c46cceaadf67e2546764a9030a1e97 Mon Sep 17 00:00:00 2001 From: tamaina Date: Tue, 26 Apr 2022 11:24:28 +0000 Subject: [PATCH] fix emojilist --- packages/client/src/components/emoji-picker.vue | 2 +- packages/client/src/scripts/emojilist.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/src/components/emoji-picker.vue b/packages/client/src/components/emoji-picker.vue index 8601ea121c..ae74f04c02 100644 --- a/packages/client/src/components/emoji-picker.vue +++ b/packages/client/src/components/emoji-picker.vue @@ -61,7 +61,7 @@
{{ i18n.ts.emoji }}
- {{ category }} + {{ category }}
diff --git a/packages/client/src/scripts/emojilist.ts b/packages/client/src/scripts/emojilist.ts index 7422106fde..4196170d24 100644 --- a/packages/client/src/scripts/emojilist.ts +++ b/packages/client/src/scripts/emojilist.ts @@ -8,4 +8,4 @@ export type UnicodeEmojiDef = { } // initial converted from https://github.com/muan/emojilib/commit/242fe68be86ed6536843b83f7e32f376468b38fb -export const emojilist = await import('../emojilist.json') as UnicodeEmojiDef[]; +export const emojilist = (await import('../emojilist.json')).default as UnicodeEmojiDef[];