From d6f9c20dd19c6e5f17b9fe6dee2103fa073c8db6 Mon Sep 17 00:00:00 2001 From: Jack Mallers Date: Mon, 13 Nov 2017 17:15:55 -0600 Subject: [PATCH] fix(hard code conditional, nodeIntegration): set nodeIntegration to false and remove hard-coded conditional --- app/main.dev.js | 3 ++- app/routes/app/components/App.js | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/main.dev.js b/app/main.dev.js index 9fa4e1d2..4e2bc2a9 100644 --- a/app/main.dev.js +++ b/app/main.dev.js @@ -77,7 +77,8 @@ app.on('ready', async () => { mainWindow = new BrowserWindow({ show: false, - frame: false + frame: false, + nodeIntegration: false }) mainWindow.maximize(); diff --git a/app/routes/app/components/App.js b/app/routes/app/components/App.js index ff4c2163..c2677bef 100644 --- a/app/routes/app/components/App.js +++ b/app/routes/app/components/App.js @@ -47,8 +47,7 @@ class App extends Component { children } = this.props - // if (lnd.syncing) { - if (true) { + if (lnd.syncing) { return (