diff --git a/app/components/LndSyncing/LndSyncing.js b/app/components/LndSyncing/LndSyncing.js index 67d487c5..a834e1b6 100644 --- a/app/components/LndSyncing/LndSyncing.js +++ b/app/components/LndSyncing/LndSyncing.js @@ -2,7 +2,6 @@ import React, { Component } from 'react' import PropTypes from 'prop-types' import copy from 'copy-to-clipboard' import { showNotification } from 'notifications' -import { FaCopy } from 'react-icons/lib/fa' import styles from './LndSyncing.scss' @@ -36,26 +35,11 @@ class LndSyncing extends Component { this.props.fetchBlockHeight() } - componentDidUpdate(prevProps) { - const { grpcStarted, newAddress } = this.props - - if (!prevProps.grpcStarted && grpcStarted) { - newAddress('np2wkh') - } - } - render() { - const { syncPercentage, address: { addressLoading, address } } = this.props + const { syncPercentage } = this.props const { facts, currentFact } = this.state const renderCurrentFact = facts[currentFact] - const copyOnClick = () => { - if (!address || !address.length) { return } - - copy(address) - showNotification('Noice', 'Successfully copied to clipboard') - } - return (