Browse Source

fix(syncing): onyl show % when over 0

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

2
app/components/LndSyncing/LndSyncing.js

@ -41,7 +41,7 @@ class LndSyncing extends Component {
<div className={styles.container}>
<h3>zap</h3>
<div className={styles.loading}>
{!fetchingBlockHeight && <h4>{syncPercentage}%</h4>}
{!fetchingBlockHeight && <h4>{syncPercentage > 0 && `${syncPercentage}%`}</h4>}
<div className={styles.spinner} />
<h1>syncing your lightning node to the blockchain</h1>
</div>

Loading…
Cancel
Save