diff options
Diffstat (limited to 'src/plugins/showConnections')
-rw-r--r-- | src/plugins/showConnections/index.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/showConnections/index.tsx b/src/plugins/showConnections/index.tsx index 404a8db..1f6ef34 100644 --- a/src/plugins/showConnections/index.tsx +++ b/src/plugins/showConnections/index.tsx @@ -27,13 +27,12 @@ import { copyWithToast } from "@utils/misc"; import { LazyComponent } from "@utils/react"; import definePlugin, { OptionType } from "@utils/types"; import { findByCode, findByCodeLazy, findByPropsLazy, findStoreLazy } from "@webpack"; -import { Text, Tooltip } from "@webpack/common"; +import { Text, Tooltip, UserProfileStore } from "@webpack/common"; import { User } from "discord-types/general"; import { VerifiedIcon } from "./VerifiedIcon"; const Section = LazyComponent(() => findByCode("().lastSection")); -const UserProfileStore = findStoreLazy("UserProfileStore"); const ThemeStore = findStoreLazy("ThemeStore"); const platforms: { get(type: string): ConnectionPlatform; } = findByPropsLazy("isSupported", "getByUrl"); const getTheme: (user: User, displayProfile: any) => any = findByCodeLazy(',"--profile-gradient-primary-color"'); |