fix: don't use cache on autocomplete for now

This commit is contained in:
ThatOneCalculator 2023-06-22 19:56:42 -07:00
parent d296fee10a
commit 738b111a4c
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
1 changed files with 1 additions and 2 deletions

View File

@ -99,7 +99,7 @@ import { acct } from "@/filters/user";
import * as os from "@/os";
import { MFM_TAGS } from "@/scripts/mfm-tags";
import { defaultStore } from "@/store";
import { getEmojiData } from "@/scripts/emojilist";
import { emojilist } from "@/scripts/emojilist";
import { instance } from "@/instance";
import { i18n } from "@/i18n";
@ -111,7 +111,6 @@ type EmojiDef = {
isCustomEmoji?: boolean;
};
const emojilist = await getEmojiData();
const lib = emojilist.filter((x) => x.category !== "flags");
const emjdb: EmojiDef[] = lib.map((x) => ({