From 885c75fdaad811017dd8645c0ed3a7234371897d Mon Sep 17 00:00:00 2001 From: V Date: Fri, 8 Sep 2023 03:42:20 +0200 Subject: add custom plugin author popouts (#1712) --- src/plugins/pronoundb/pronoundbUtils.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/plugins/pronoundb/pronoundbUtils.ts') diff --git a/src/plugins/pronoundb/pronoundbUtils.ts b/src/plugins/pronoundb/pronoundbUtils.ts index 8bde10e..eac204b 100644 --- a/src/plugins/pronoundb/pronoundbUtils.ts +++ b/src/plugins/pronoundb/pronoundbUtils.ts @@ -21,14 +21,11 @@ import { VENCORD_USER_AGENT } from "@utils/constants"; import { debounce } from "@utils/debounce"; import { getCurrentChannel } from "@utils/discord"; import { useAwaiter } from "@utils/react"; -import { findStoreLazy } from "@webpack"; -import { UserStore } from "@webpack/common"; +import { UserProfileStore, UserStore } from "@webpack/common"; import { settings } from "./settings"; import { PronounCode, PronounMapping, PronounsResponse } from "./types"; -const UserProfileStore = findStoreLazy("UserProfileStore"); - type PronounsWithSource = [string | null, string]; const EmptyPronouns: PronounsWithSource = [null, ""]; -- cgit