From 62fe25f6f0da05320c5a7303998501472945a259 Mon Sep 17 00:00:00 2001 From: Ben Woosley Date: Mon, 8 Jan 2018 18:41:37 -0800 Subject: [PATCH] fix(whitespace): Fix some whitespace lint errors --- app/components/Contacts/ContactModal.js | 7 +------ app/components/Contacts/ContactsForm.js | 22 +++++++++++----------- app/routes/contacts/components/Contacts.js | 2 +- 3 files changed, 13 insertions(+), 18 deletions(-) diff --git a/app/components/Contacts/ContactModal.js b/app/components/Contacts/ContactModal.js index 664cf920..b505c651 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 }) }