From b5804d548c4d975dfbadfe48f2e348ec0694ab0a Mon Sep 17 00:00:00 2001 From: camila314 <47485054+camila314@users.noreply.github.com> Date: Tue, 28 Nov 2023 02:09:34 -0600 Subject: [PATCH] someone made destructuring with strings not work lol --- src/plugins/keywordNotify/index.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/plugins/keywordNotify/index.tsx b/src/plugins/keywordNotify/index.tsx index 7ee70205b..1e9e54755 100644 --- a/src/plugins/keywordNotify/index.tsx +++ b/src/plugins/keywordNotify/index.tsx @@ -19,7 +19,8 @@ let regexes = []; const MenuHeader = findByCodeLazy("useInDesktopNotificationCenterExperiment)("); const Popout = findByPropsLazy("ItemsPopout"); -const { recentMentionsPopout } = findByPropsLazy("recentMentionsPopout"); +const recentMentionsPopoutClass = findByPropsLazy("recentMentionsPopout"); + const { createMessageRecord } = findByPropsLazy("createMessageRecord", "updateMessageRecord"); @@ -253,7 +254,7 @@ export default definePlugin({ return ( <> header} renderMessage={messageRender} channel={channel}