use .render a bit more... hopefully no weird errors or issues arise

This commit is contained in:
David Sevilla Martin 2020-01-31 18:41:33 -05:00
parent 6656820f24
commit 3410bf0935
No known key found for this signature in database
GPG Key ID: F764F1417E16B15F
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ export default class ModalManager extends Component {
clearTimeout(this.hideTimeout);
this.showing = true;
this.node = component.tag ? component : m(component);
this.node = component.tag ? component : component.render();
// if (app.current) app.current.retain = true;

View File

@ -40,7 +40,7 @@ export default class NotificationsDropdown extends Dropdown {
getMenu() {
return (
<div className={'Dropdown-menu ' + this.props.menuClassName} onclick={this.menuClick.bind(this)}>
{this.showing ? m(this.list) : ''}
{this.showing ? this.list.render() : ''}
</div>
);
}