Browse Source

hotfix(sync): check for address len too

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
8470c7a733
  1. 2
      app/components/LndSyncing/LndSyncing.js

2
app/components/LndSyncing/LndSyncing.js

@ -50,7 +50,7 @@ class LndSyncing extends Component {
const renderCurrentFact = facts[currentFact] const renderCurrentFact = facts[currentFact]
const copyOnClick = () => { const copyOnClick = () => {
if (!address) { return } if (!address || !address.length) { return }
copy(address) copy(address)
showNotification('Noice', 'Successfully copied to clipboard') showNotification('Noice', 'Successfully copied to clipboard')

Loading…
Cancel
Save