From 8470c7a733b6d82375e6909c73ddedd81dae3f17 Mon Sep 17 00:00:00 2001 From: Jack Mallers Date: Thu, 25 Jan 2018 12:25:48 -0600 Subject: [PATCH] hotfix(sync): check for address len too --- app/components/LndSyncing/LndSyncing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/LndSyncing/LndSyncing.js b/app/components/LndSyncing/LndSyncing.js index 8933416a..d76b75e0 100644 --- a/app/components/LndSyncing/LndSyncing.js +++ b/app/components/LndSyncing/LndSyncing.js @@ -50,7 +50,7 @@ class LndSyncing extends Component { const renderCurrentFact = facts[currentFact] const copyOnClick = () => { - if (!address) { return } + if (!address || !address.length) { return } copy(address) showNotification('Noice', 'Successfully copied to clipboard')