From 47877a5b7b5ed27f25495cb28051a19b1bba08f8 Mon Sep 17 00:00:00 2001 From: Geraldo Ramos Date: Sat, 22 Jun 2019 21:06:09 -0600 Subject: [PATCH] Update main.js --- main.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.js b/main.js index f006c84..b4b430d 100644 --- a/main.js +++ b/main.js @@ -206,12 +206,11 @@ function createWindow() { }) // Actions - ipcMain.on('login-attempt', async (event, loginEmailPw) => { startLogin(false, loginEmailPw) }) - // wait function + // wait helper function async function wait(ms) { return new Promise(resolve => { setTimeout(resolve, ms)