diff options
author | V <vendicated@riseup.net> | 2023-09-08 03:42:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-08 03:42:20 +0200 |
commit | 885c75fdaad811017dd8645c0ed3a7234371897d (patch) | |
tree | 45d7eb166d225ba8156a634677d7efd9e70c9703 /src/plugins/showConnections | |
parent | f2a22c5e57515fd6fc41cece083444d4cbc11ebc (diff) | |
download | Vencord-885c75fdaad811017dd8645c0ed3a7234371897d.tar.gz Vencord-885c75fdaad811017dd8645c0ed3a7234371897d.tar.bz2 Vencord-885c75fdaad811017dd8645c0ed3a7234371897d.zip |
add custom plugin author popouts (#1712)
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"'); |