From ea1b9039ae221355cfaabb16fc43dab5917bea56 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 6 Jul 2018 02:11:40 +0300 Subject: Fix eslint warnings --- vnext/src/components/Avatar.js | 2 +- vnext/src/components/Button.js | 4 ++-- vnext/src/components/Chat.js | 6 +++--- vnext/src/components/Feeds.js | 14 +++++++------- vnext/src/components/Footer.js | 9 +++++++-- vnext/src/components/LoginButton.js | 14 ++++++++------ vnext/src/components/Message.js | 4 ++-- vnext/src/components/MessageInput.js | 20 +++++++++++--------- vnext/src/components/Modal.js | 4 +--- vnext/src/components/PM.js | 2 +- vnext/src/components/SearchBox.js | 14 +++++++------- vnext/src/components/Spinner.js | 4 ++-- vnext/src/components/Thread.js | 10 +++++----- vnext/src/components/__tests__/Avatar.test.js | 2 +- vnext/src/components/__tests__/Footer.test.js | 2 +- vnext/src/components/__tests__/LoginButton.test.js | 2 +- vnext/src/components/__tests__/MessageInput-test.js | 2 +- 17 files changed, 61 insertions(+), 54 deletions(-) (limited to 'vnext/src/components') diff --git a/vnext/src/components/Avatar.js b/vnext/src/components/Avatar.js index 73b885ad..0df0dbd7 100644 --- a/vnext/src/components/Avatar.js +++ b/vnext/src/components/Avatar.js @@ -17,4 +17,4 @@ export default function Avatar(props) { Avatar.propTypes = { user: UserType, link: PropTypes.string -} +}; diff --git a/vnext/src/components/Button.js b/vnext/src/components/Button.js index 656c0426..11887d41 100644 --- a/vnext/src/components/Button.js +++ b/vnext/src/components/Button.js @@ -3,7 +3,7 @@ import React from 'react'; export default function Button(props) { return (