chore: format

This commit is contained in:
cha0s 2019-04-29 22:01:03 -05:00
parent 5bc38d2ce0
commit 0674ad4d23

View File

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