From c9a3b5b6c89e65616c202d4b3bde1a187ab50a66 Mon Sep 17 00:00:00 2001 From: catarak Date: Mon, 27 Jun 2016 17:19:45 -0400 Subject: [PATCH] fix linting errors in app and routes --- client/modules/App/App.js | 2 +- client/routes.js | 17 ++++++++--------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/client/modules/App/App.js b/client/modules/App/App.js index 9aa7c1df..6ae59184 100644 --- a/client/modules/App/App.js +++ b/client/modules/App/App.js @@ -9,7 +9,7 @@ class App extends React.Component { } componentDidMount() { - this.setState({ isMounted: true }); + this.setState({ isMounted: true }); // eslint-disable-line no-did-mount-set-state } render() { diff --git a/client/routes.js b/client/routes.js index 989e0ffc..12523a3d 100644 --- a/client/routes.js +++ b/client/routes.js @@ -10,15 +10,14 @@ const checkAuth = (store) => { store.dispatch(getUser()); }; -const routes = (store) => { - return ( - - - - - - +const routes = (store) => + ( + + + + + + ); -}; export default routes;