1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

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:
Alex 2021-03-05 17:12:43 +02:00 committed by Alex Culliere
parent 0742ac5fa1
commit 7530ecdfbc

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