Update src/renderer/bootstrap.tsx

Use available helper function instead of raw promise

Co-authored-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Alex Culliere <alozhkin@mirantis.com>
This commit is contained in:
AlexandSebastian Malton authored and Alex Culliere committed 2021-03-05 17:13:08 +02:00
1 parent 0742ac5fa1
commit 7530ecdfbc
1 file changed
+1 -1
+1 -1
View File
@@ -26,7 +26,7 @@ import { themeStore } from "./theme.store";
*/
async function attachChromeDebugger() {
if (isDevelopment) {
await new Promise(resolve => setTimeout(resolve, 1000));
await delay(1000);
}
}