diff options
author | Syncx <47534062+Syncxv@users.noreply.github.com> | 2023-05-17 12:38:15 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-17 04:38:15 +0200 |
commit | 1d6b78f6c660f0cd6905552243a3908366a28595 (patch) | |
tree | c8d217a937be8bf2ce39f24e031208388d8f9cb5 /src/plugins/fakeNitro.tsx | |
parent | 341151a71811ddf2a7a36af3dc037135d2b9f7dd (diff) | |
download | Vencord-1d6b78f6c660f0cd6905552243a3908366a28595.tar.gz Vencord-1d6b78f6c660f0cd6905552243a3908366a28595.tar.bz2 Vencord-1d6b78f6c660f0cd6905552243a3908366a28595.zip |
feat(plugin): FavoriteEmojiFirst (#1110)
Co-authored-by: V <vendicated@riseup.net>
Diffstat (limited to 'src/plugins/fakeNitro.tsx')
-rw-r--r-- | src/plugins/fakeNitro.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
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<string, Sticker[]>; getStickerById(id: string): Sticker | undefined; }; -const EmojiStore = findStoreLazy("EmojiStore"); - function searchProtoClass(localName: string, parentProtoClass: any) { if (!parentProtoClass) return; |