diff --git a/app/components/Contacts/Network.js b/app/components/Contacts/Network.js
index 77e64e6d..5da3b729 100644
--- a/app/components/Contacts/Network.js
+++ b/app/components/Contacts/Network.js
@@ -8,6 +8,7 @@ import plus from 'icons/plus.svg'
import search from 'icons/search.svg'
import Value from 'components/Value'
+import SuggestedNodes from './SuggestedNodes'
import styles from './Network.scss'
@@ -139,6 +140,13 @@ class Network extends Component {
+ {
+ !loadingChannelPubkeys.length && !currentChannels.length &&
+
+ }
+
+ {
+ loadingChannelPubkeys.length > 0 && currentChannels.length > 0 &&
@@ -154,22 +162,22 @@ class Network extends Component {
}
-
-
- { this.repeat = ref }}>
- {
- this.state.refreshing ?
-
- :
- 'Refresh'
- }
-
-
+
+ { this.repeat = ref }}>
+ {
+ this.state.refreshing ?
+
+ :
+ 'Refresh'
+ }
+
+
+ }
{
- loadingChannelPubkeys.map((loadingPubkey) => {
+ loadingChannelPubkeys.length > 0 && loadingChannelPubkeys.map((loadingPubkey) => {
// TODO(jimmymow): refactor this out. same logic is in displayNodeName above
const node = find(nodes, n => loadingPubkey === n.pub_key)
const nodeDisplay = () => {
@@ -264,20 +272,22 @@ class Network extends Component {
}
-
-
+ {
+ loadingChannelPubkeys.length > 0 && currentChannels.length > 0 &&
+
+ }
)
}
diff --git a/app/components/Contacts/SuggestedNodes.js b/app/components/Contacts/SuggestedNodes.js
new file mode 100644
index 00000000..f8901a35
--- /dev/null
+++ b/app/components/Contacts/SuggestedNodes.js
@@ -0,0 +1,14 @@
+import React from 'react'
+import PropTypes from 'prop-types'
+import styles from './SuggestedNodes.scss'
+
+const SuggestedNodes = ({}) => {
+ console.log('yo')
+ return (
+ suggested nodes
+ )
+}
+
+SuggestedNodes.propTypes = {}
+
+export default SuggestedNodes
diff --git a/app/components/Contacts/SuggestedNodes.scss b/app/components/Contacts/SuggestedNodes.scss
new file mode 100644
index 00000000..e69de29b