diff --git a/app/components/Contacts/ContactModal.js b/app/components/Contacts/ContactModal.js index ec0c4417..cd23af5a 100644 --- a/app/components/Contacts/ContactModal.js +++ b/app/components/Contacts/ContactModal.js @@ -55,12 +55,7 @@ const ContactModal = ({
- { - channel.active ? - 'Online' - : - 'Offline' - } + {channel.active ? 'Online' : 'Offline'}
diff --git a/app/components/Contacts/ContactsForm.js b/app/components/Contacts/ContactsForm.js index 8123641f..049aa246 100644 --- a/app/components/Contacts/ContactsForm.js +++ b/app/components/Contacts/ContactsForm.js @@ -142,22 +142,22 @@ class ContactsForm extends React.Component {
  • { - node.alias.length > 0 ? -

    - {node.alias.trim()} - ({node.pub_key.substr(0, 10)}...{node.pub_key.substr(node.pub_key.length - 10)}) -

    - : -

    - {node.pub_key} -

    - } + node.alias.length > 0 ? +

    + {node.alias.trim()} + ({node.pub_key.substr(0, 10)}...{node.pub_key.substr(node.pub_key.length - 10)}) +

    + : +

    + {node.pub_key} +

    + }
    {renderRightSide(node)}
  • - )) + )) }
    diff --git a/app/routes/contacts/components/Contacts.js b/app/routes/contacts/components/Contacts.js index b33f1537..d22c2337 100644 --- a/app/routes/contacts/components/Contacts.js +++ b/app/routes/contacts/components/Contacts.js @@ -164,7 +164,7 @@ class Contacts extends Component { } else if (!channel.active) { return } - return + return }) }