From 91faf0911184bb430170d021195d008b977e0ac4 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 6 Jul 2018 01:57:22 +0300 Subject: Fix lint and prototypes warnings --- vnext/src/components/Contact.js | 2 +- vnext/src/components/Feeds.js | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'vnext/src') diff --git a/vnext/src/components/Contact.js b/vnext/src/components/Contact.js index 01dd1ae6..215f579b 100644 --- a/vnext/src/components/Contact.js +++ b/vnext/src/components/Contact.js @@ -9,7 +9,7 @@ export default class Contact extends React.Component { const { user } = this.props; return ( - + {user.uname }{ user.unreadCount && {user.unreadCount}} ); diff --git a/vnext/src/components/Feeds.js b/vnext/src/components/Feeds.js index 626732f6..80e9071b 100644 --- a/vnext/src/components/Feeds.js +++ b/vnext/src/components/Feeds.js @@ -16,7 +16,7 @@ export function Discover(props) { baseUrl: '/messages', pageParam: 'before_mid' }; - return () + return () } export function Discussions(props) { @@ -24,7 +24,7 @@ export function Discussions(props) { baseUrl: '/messages/discussions', pageParam: 'to' }; - return () + return () } export function Blog(props) { @@ -36,7 +36,7 @@ export function Blog(props) { }, pageParam: 'before_mid' }; - return () + return () } export function Tag(props) { @@ -48,7 +48,7 @@ export function Tag(props) { }, pageParam: 'before_mid' }; - return () + return () } export function Home(props) { @@ -56,7 +56,7 @@ export function Home(props) { baseUrl: '/home', pageParam: 'before_mid' }; - return () + return () } class Feed extends React.Component { @@ -90,7 +90,7 @@ class Feed extends React.Component { params.hash = hash; } if (!params.hash && this.props.authRequired) { - this.props.history.push('/') + this.props.history.push('/'); } getMessages(url, params) .then(response => { -- cgit v1.2.3