Browse Source

fix(hard code conditional, nodeIntegration): set nodeIntegration to false and remove hard-coded conditional

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
d6f9c20dd1
  1. 3
      app/main.dev.js
  2. 3
      app/routes/app/components/App.js

3
app/main.dev.js

@ -77,7 +77,8 @@ app.on('ready', async () => {
mainWindow = new BrowserWindow({ mainWindow = new BrowserWindow({
show: false, show: false,
frame: false frame: false,
nodeIntegration: false
}) })
mainWindow.maximize(); mainWindow.maximize();

3
app/routes/app/components/App.js

@ -47,8 +47,7 @@ class App extends Component {
children children
} = this.props } = this.props
// if (lnd.syncing) { if (lnd.syncing) {
if (true) {
return ( return (
<LndSyncing <LndSyncing
fetchBlockHeight={fetchBlockHeight} fetchBlockHeight={fetchBlockHeight}

Loading…
Cancel
Save