mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +00:00
format
This commit is contained in:
parent
5e9b23debd
commit
6c58212abf
@ -53,10 +53,12 @@ export default class AppModal extends React.Component {
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<div className="appModal" ref={this.modalRef}>
|
<div className="appModal" ref={this.modalRef}>
|
||||||
{React.createElement(this.state.currentRender, {
|
{
|
||||||
...this.state.renderParams.props ?? {},
|
React.createElement(this.state.currentRender, {
|
||||||
close: this.close,
|
...this.state.renderParams.props ?? {},
|
||||||
})}
|
close: this.close,
|
||||||
|
})
|
||||||
|
}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user