From 3007d502bde3e88257b8b147bf7256cbc2041672 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Fri, 25 Jun 2021 10:04:24 +0200 Subject: [PATCH] Update 0BDFDB.plugin.js --- Library/0BDFDB.plugin.js | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index 1670fec605..544098e43c 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -7668,14 +7668,10 @@ module.exports = (_ => { render() { return BDFDB.ReactUtils.createElement(InternalComponents.LibraryComponents.PopoutContainer, BDFDB.ObjectUtils.exclude(Object.assign({}, this.props, { wrap: false, - renderPopout: instance => { - return BDFDB.ReactUtils.createElement(InternalComponents.LibraryComponents.UserPopout, { - userId: this.props.userId, - guildId: this.props.guildId, - channelId: this.props.channelId - }); - } - }), "userId", "guildId", "channelId")); + renderPopout: instance => BDFDB.ReactUtils.createElement(InternalComponents.LibraryComponents.UserPopout, { + user: LibraryModules.UserStore.getUser(this.props.userId) + }), + }), "userId")); } };