From df673d738f71235a47c169ac3c9c5eb0e903e320 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Sun, 7 Jun 2026 13:56:21 -0400 Subject: [PATCH] EquicordHelper: Remove setting menu require --- src/equicordplugins/equicordHelper/index.tsx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/equicordplugins/equicordHelper/index.tsx b/src/equicordplugins/equicordHelper/index.tsx index 1b712e489..11d3e5998 100644 --- a/src/equicordplugins/equicordHelper/index.tsx +++ b/src/equicordplugins/equicordHelper/index.tsx @@ -15,7 +15,7 @@ import { Devs, EquicordDevs, GUILD_ID, SUPPORT_CHANNEL_ID, SUPPORT_CHANNEL_IDS, import { isAnyPluginDev } from "@utils/misc"; import definePlugin, { OptionType } from "@utils/types"; import { StandingState } from "@vencord/discord-types/enums"; -import { extractAndLoadChunksLazy, findByCodeLazy, findStoreLazy } from "@webpack"; +import { findByCodeLazy, findStoreLazy } from "@webpack"; import { Alerts, ApplicationCommandIndexStore, NavigationRouter, React, SettingsRouter, UserGuildSettingsStore, UserStore, useStateFromStores, VoiceStateStore } from "@webpack/common"; import { ComponentType } from "react"; @@ -30,7 +30,6 @@ let clicked = false; const SafetyHubStore = findStoreLazy("SafetyHubStore"); const fetchSafetyHub: () => Promise = findByCodeLazy("SAFETY_HUB_FETCH_START"); -const requireSettingsMenu = extractAndLoadChunksLazy(['type:"USER_SETTINGS_MODAL_OPEN"']); const StandingConfig: Record; }> = { [StandingState.ALL_GOOD]: { label: "All good!", hoverColor: "var(--status-positive)", Icon: ShieldIcon }, @@ -41,14 +40,6 @@ const StandingConfig: Record { requireSettingsMenu().then(() => setLoaded(true)).catch(() => { }); }, []); - - return loaded ? : null; -} - -function AccountStandingButton() { const standing = useStateFromStores([SafetyHubStore], () => SafetyHubStore.getAccountStanding()); const isInitialized = useStateFromStores([SafetyHubStore], () => SafetyHubStore.isInitialized()); const [hovered, setHovered] = React.useState(false);