Fix Message component selection
This commit is contained in:
parent
b4ebd6c08a
commit
78079588ea
|
@ -302,7 +302,7 @@ export class ReactAutoPatcher {
|
|||
}
|
||||
|
||||
static async patchMessage() {
|
||||
this.Message = await ReactComponents.getComponent('Message', { selector: '.message' });
|
||||
this.Message = await ReactComponents.getComponent('Message', { selector: '.message' }, m => m.prototype.renderContent);
|
||||
|
||||
this.unpatchMessageRender = MonkeyPatch('BD:ReactComponents', this.Message.component.prototype).after('render', (component, args, retVal) => {
|
||||
const { message, jumpSequenceId, canFlash } = component.props;
|
||||
|
|
Loading…
Reference in New Issue