Browse Source

fix(lint): fix linting errors

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
78afbb05f2
  1. 26
      app/components/Contacts/Network.js

26
app/components/Contacts/Network.js

@ -257,20 +257,20 @@ class Network extends Component {
</section>
</div>
<div className={styles.actions}>
{
closingChannelIds.includes(channel.chan_id) &&
<section>
<span className={`${styles.loading} hint--left`} data-hint='closing'>
<i>Closing</i> <i className={`${styles.spinner} ${styles.closing}`} />
</span>
</section>
}
{
(Object.prototype.hasOwnProperty.call(channel, 'active') && !closingChannelIds.includes(channel.chan_id)) &&
<section onClick={() => removeClicked(channel)}>
<div>Disconnect</div>
{
closingChannelIds.includes(channel.chan_id) &&
<section>
<span className={`${styles.loading} hint--left`} data-hint='closing'>
<i>Closing</i> <i className={`${styles.spinner} ${styles.closing}`} />
</span>
</section>
}
}
{
(Object.prototype.hasOwnProperty.call(channel, 'active') && !closingChannelIds.includes(channel.chan_id)) &&
<section onClick={() => removeClicked(channel)}>
<div>Disconnect</div>
</section>
}
</div>
</section>
</li>

Loading…
Cancel
Save