From 7eeaa3247396c0e27a190e5f6a78a6bfbea3366e Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Tue, 17 Sep 2024 14:35:58 -0300 Subject: [PATCH] oops --- src/plugins/userVoiceShow/components.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/userVoiceShow/components.tsx b/src/plugins/userVoiceShow/components.tsx index 81c6bae12..c8f65d01a 100644 --- a/src/plugins/userVoiceShow/components.tsx +++ b/src/plugins/userVoiceShow/components.tsx @@ -7,13 +7,13 @@ import { classNameFactory } from "@api/Styles"; import ErrorBoundary from "@components/ErrorBoundary"; import { classes } from "@utils/misc"; -import { findByProps, findComponentByCode, findStore } from "@webpack"; +import { findComponentByCode, findProp, findStore } from "@webpack"; import { ChannelStore, GuildStore, IconUtils, NavigationRouter, PermissionsBits, PermissionStore, showToast, Text, Toasts, Tooltip, useCallback, useMemo, UserStore, useStateFromStores } from "@webpack/common"; import { Channel } from "discord-types/general"; const cl = classNameFactory("vc-uvs-"); -const { selectVoiceChannel } = findByProps("selectChannel", "selectVoiceChannel"); +const selectVoiceChannel = findProp("selectVoiceChannel", "selectChannel"); const VoiceStateStore = findStore("VoiceStateStore"); const UserSummaryItem = findComponentByCode("defaultRenderUser", "showDefaultAvatarsForNullUsers");