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/showConnections/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/plugins/showConnections') 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"'); -- cgit