fix(client): オートコンプリートが出ない問題を修正

This commit is contained in:
syuilo 2022-12-29 09:31:49 +09:00
parent 5739427c7b
commit 845c202109

View file

@ -56,14 +56,14 @@ type EmojiDef = {
const lib = emojilist.filter(x => x.category !== 'flags');
const char2path = defaultStore.state.emojiStyle === 'twemoji' ? char2twemojiFilePath : char2fluentEmojiFilePath;
const emjdb: EmojiDef[] = lib.map(x => ({
emoji: x.char,
name: x.name,
url: char2path(x.char),
}));
const char2path = defaultStore.state.emojiStyle === 'twemoji' ? char2twemojiFilePath : char2fluentEmojiFilePath;
for (const x of lib) {
if (x.keywords) {
for (const k of x.keywords) {