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:
parent
0742ac5fa1
commit
7530ecdfbc
@ -26,7 +26,7 @@ import { themeStore } from "./theme.store";
|
|||||||
*/
|
*/
|
||||||
async function attachChromeDebugger() {
|
async function attachChromeDebugger() {
|
||||||
if (isDevelopment) {
|
if (isDevelopment) {
|
||||||
await new Promise(resolve => setTimeout(resolve, 1000));
|
await delay(1000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user