From fe26fa33a8d7bc42079f6614ce080786b150da90 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 5 Mar 2021 13:32:25 +0200 Subject: [PATCH] Update src/renderer/bootstrap.tsx Co-authored-by: chh <1474479+chenhunghan@users.noreply.github.com> Signed-off-by: Alex Culliere --- src/renderer/bootstrap.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/bootstrap.tsx b/src/renderer/bootstrap.tsx index aeb25c4647..229b2844cf 100644 --- a/src/renderer/bootstrap.tsx +++ b/src/renderer/bootstrap.tsx @@ -27,7 +27,7 @@ import { themeStore } from "./theme.store"; */ async function attachChromeDebugger() { if (remote.process.defaultApp) { - await new Promise(r => setTimeout(r, 1000)); + await new Promise(resolve => setTimeout(resolve, 1000)); } }