From 2f51a20369212026c46700144b77bc31d73afe22 Mon Sep 17 00:00:00 2001 From: Jori Lallo Date: Tue, 2 Aug 2016 13:24:03 +0300 Subject: [PATCH] linting js --- frontend/scenes/Dashboard/Dashboard.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/scenes/Dashboard/Dashboard.js b/frontend/scenes/Dashboard/Dashboard.js index eed28a803..b615b21cb 100644 --- a/frontend/scenes/Dashboard/Dashboard.js +++ b/frontend/scenes/Dashboard/Dashboard.js @@ -11,7 +11,7 @@ import CenteredContent from 'components/CenteredContent'; import DropdownMenu, { MenuItem, MoreIcon } from 'components/DropdownMenu'; import FullscreenField from 'components/FullscreenField'; -import styles from './Dashboard.scss'; +// import styles from './Dashboard.scss'; @observer(['user']) class Dashboard extends React.Component { @@ -19,12 +19,12 @@ class Dashboard extends React.Component { user: React.PropTypes.object.isRequired, } - componentDidMount = () => { - store.fetchAtlases(this.props.user.team.id); + state = { + newAtlasVisible: false, } - state = { - newAtlasVisible: false + componentDidMount = () => { + store.fetchAtlases(this.props.user.team.id); } onClickNewAtlas = () => { @@ -45,16 +45,16 @@ class Dashboard extends React.Component { ); return ( - + - + { store.isFetching ? ( ) : store.atlases && store.atlases.map((atlas) => { - return (); + return (); }) }