|
|
@ -54,8 +54,6 @@ class Network extends Component { |
|
|
|
suggestedNodesProps |
|
|
|
} = this.props |
|
|
|
|
|
|
|
console.log('currentChannels: ', currentChannels) |
|
|
|
|
|
|
|
const refreshClicked = () => { |
|
|
|
// turn the spinner on
|
|
|
|
this.setState({ refreshing: true }) |
|
|
@ -149,7 +147,7 @@ class Network extends Component { |
|
|
|
} |
|
|
|
|
|
|
|
{ |
|
|
|
loadingChannelPubkeys.length > 0 || currentChannels.length > 0 && |
|
|
|
(loadingChannelPubkeys.length > 0 || currentChannels.length) > 0 && |
|
|
|
<header className={styles.listHeader}> |
|
|
|
<section> |
|
|
|
<h2 onClick={toggleFilterPulldown} className={styles.filterTitle}> |
|
|
@ -276,7 +274,7 @@ class Network extends Component { |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
{ |
|
|
|
loadingChannelPubkeys.length > 0 || currentChannels.length > 0 && |
|
|
|
(loadingChannelPubkeys.length > 0 || currentChannels.length) > 0 && |
|
|
|
<footer className={styles.search}> |
|
|
|
<label htmlFor='search' className={`${styles.label} ${styles.input}`}> |
|
|
|
<Isvg src={search} /> |
|
|
@ -305,6 +303,7 @@ Network.propTypes = { |
|
|
|
balance: PropTypes.object.isRequired, |
|
|
|
currentTicker: PropTypes.object.isRequired, |
|
|
|
ticker: PropTypes.object.isRequired, |
|
|
|
suggestedNodesProps: PropTypes.object.isRequired, |
|
|
|
|
|
|
|
fetchChannels: PropTypes.func.isRequired, |
|
|
|
openContactsForm: PropTypes.func.isRequired, |
|
|
|