diff --git a/frontend/scenes/Dashboard/Dashboard.js b/frontend/scenes/Dashboard/Dashboard.js index eed28a80..b615b21c 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 (); }) }