From 1d6b78f6c660f0cd6905552243a3908366a28595 Mon Sep 17 00:00:00 2001 From: Syncx <47534062+Syncxv@users.noreply.github.com> Date: Wed, 17 May 2023 12:38:15 +1000 Subject: feat(plugin): FavoriteEmojiFirst (#1110) Co-authored-by: V --- src/plugins/fakeNitro.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/plugins/fakeNitro.tsx') diff --git a/src/plugins/fakeNitro.tsx b/src/plugins/fakeNitro.tsx index b48a466..88b2ae2 100644 --- a/src/plugins/fakeNitro.tsx +++ b/src/plugins/fakeNitro.tsx @@ -24,7 +24,7 @@ import { getCurrentGuild } from "@utils/discord"; import { proxyLazy } from "@utils/lazy"; import definePlugin, { OptionType } from "@utils/types"; import { findByCodeLazy, findByPropsLazy, findLazy, findStoreLazy } from "@webpack"; -import { ChannelStore, FluxDispatcher, Parser, PermissionStore, UserStore } from "@webpack/common"; +import { ChannelStore, EmojiStore, FluxDispatcher, Parser, PermissionStore, UserStore } from "@webpack/common"; import type { Message } from "discord-types/general"; import type { ReactNode } from "react"; @@ -38,8 +38,6 @@ const StickerStore = findStoreLazy("StickersStore") as { getAllGuildStickers(): Map; getStickerById(id: string): Sticker | undefined; }; -const EmojiStore = findStoreLazy("EmojiStore"); - function searchProtoClass(localName: string, parentProtoClass: any) { if (!parentProtoClass) return; -- cgit