fix: don't use cache on autocomplete for now
This commit is contained in:
parent
d296fee10a
commit
738b111a4c
|
@ -99,7 +99,7 @@ import { acct } from "@/filters/user";
|
||||||
import * as os from "@/os";
|
import * as os from "@/os";
|
||||||
import { MFM_TAGS } from "@/scripts/mfm-tags";
|
import { MFM_TAGS } from "@/scripts/mfm-tags";
|
||||||
import { defaultStore } from "@/store";
|
import { defaultStore } from "@/store";
|
||||||
import { getEmojiData } from "@/scripts/emojilist";
|
import { emojilist } from "@/scripts/emojilist";
|
||||||
import { instance } from "@/instance";
|
import { instance } from "@/instance";
|
||||||
import { i18n } from "@/i18n";
|
import { i18n } from "@/i18n";
|
||||||
|
|
||||||
|
@ -111,7 +111,6 @@ type EmojiDef = {
|
||||||
isCustomEmoji?: boolean;
|
isCustomEmoji?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
const emojilist = await getEmojiData();
|
|
||||||
const lib = emojilist.filter((x) => x.category !== "flags");
|
const lib = emojilist.filter((x) => x.category !== "flags");
|
||||||
|
|
||||||
const emjdb: EmojiDef[] = lib.map((x) => ({
|
const emjdb: EmojiDef[] = lib.map((x) => ({
|
||||||
|
|
Loading…
Reference in New Issue