Update 0BDFDB.plugin.js

This commit is contained in:
Mirco Wittrien 2021-06-25 10:04:24 +02:00
parent 5abcd64fcf
commit 3007d502bd
1 changed files with 4 additions and 8 deletions

View File

@ -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"));
}
};