From d48350724b588c3e253a43b55fe3a93d0c5bdbbe Mon Sep 17 00:00:00 2001 From: BorysLevytskyi Date: Thu, 14 Jan 2021 21:41:19 +0200 Subject: [PATCH] Execute startup commands after app is rendered --- src/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index 1934c22..07a2785 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -13,11 +13,12 @@ import UnknownInputResultView from './shell/components/UnknownInputResultView'; const appData = bootstrapAppData(); initializeModules(); -executeStartupCommands(); var root = ; ReactDOM.render(root, document.getElementById('root')); +executeStartupCommands(); + log.debug("started"); function executeStartupCommands() {