chore: format
This commit is contained in:
parent
5bc38d2ce0
commit
0674ad4d23
|
@ -427,21 +427,13 @@ export class App extends decorate(class {}) {
|
|||
// UI.
|
||||
this.reactContainer = this.createReactContainer();
|
||||
this.stage.ui.appendChild(this.reactContainer);
|
||||
const UiComponent = <Ui
|
||||
app={this}
|
||||
/>;
|
||||
const UiComponent = <Ui app={this} />;
|
||||
ReactDOM.render(UiComponent, this.reactContainer, () => {
|
||||
this.stage.flushUiElements();
|
||||
});
|
||||
// Debug UI.
|
||||
this.debugUiNode = node.querySelector('.debug-container');
|
||||
const DebugUiComponent = <DebugUi
|
||||
actionRegistry={this.actionRegistry}
|
||||
app={this}
|
||||
Parser={this.AugmentedParser}
|
||||
socket={this.socket}
|
||||
stage={this.stage}
|
||||
/>;
|
||||
const DebugUiComponent = <DebugUi app={this} />;
|
||||
ReactDOM.render(DebugUiComponent, this.debugUiNode);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user