fix: don't use cache on autocomplete for now

This commit is contained in:
ThatOneCalculator 2023-06-22 19:56:42 -07:00
parent b3127363ae
commit a63608d9ce

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) => ({