diff --git a/app/components/LndSyncing/LndSyncing.js b/app/components/LndSyncing/LndSyncing.js index 0caa559f..8933416a 100644 --- a/app/components/LndSyncing/LndSyncing.js +++ b/app/components/LndSyncing/LndSyncing.js @@ -38,7 +38,7 @@ class LndSyncing extends Component { componentDidUpdate(prevProps) { const { grpcStarted, newAddress } = this.props - + if (!prevProps.grpcStarted && grpcStarted) { newAddress('np2wkh') } @@ -51,7 +51,7 @@ class LndSyncing extends Component { const copyOnClick = () => { if (!address) { return } - + copy(address) showNotification('Noice', 'Successfully copied to clipboard') } diff --git a/app/main.dev.js b/app/main.dev.js index 0485b86a..2a499802 100644 --- a/app/main.dev.js +++ b/app/main.dev.js @@ -128,10 +128,11 @@ const sendLndSynced = () => { // Starts the LND node const startLnd = () => { let lndPath - process.env.NODE_ENV === 'development' ? + if (process.env.NODE_ENV === 'development') { lndPath = path.join(__dirname, '..', 'resources', 'bin', plat, plat === 'win32' ? 'lnd.exe' : 'lnd') - : + } else { lndPath = path.join(__dirname, '..', 'bin', plat === 'win32' ? 'lnd.exe' : 'lnd') + } const neutrino = spawn(lndPath, [ diff --git a/app/routes/help/components/Help.js b/app/routes/help/components/Help.js index e2f15b68..0eb5f8d6 100644 --- a/app/routes/help/components/Help.js +++ b/app/routes/help/components/Help.js @@ -1,6 +1,5 @@ import { shell } from 'electron' import React, { Component } from 'react' -import PropTypes from 'prop-types' import { MdSearch } from 'react-icons/lib/md' @@ -67,17 +66,18 @@ class Help extends Component {