Execute startup commands after app is rendered

This commit is contained in:
BorysLevytskyi
2021-01-14 21:41:19 +02:00
parent 50d1606105
commit d48350724b

View File

@@ -13,11 +13,12 @@ import UnknownInputResultView from './shell/components/UnknownInputResultView';
const appData = bootstrapAppData();
initializeModules();
executeStartupCommands();
var root = <AppRoot appState={appData.appState} />;
ReactDOM.render(root, document.getElementById('root'));
executeStartupCommands();
log.debug("started");
function executeStartupCommands() {