moar debugz

This commit is contained in:
Jori Lallo 2016-06-26 23:09:10 -07:00
parent 08fc557f61
commit f454caa898
2 changed files with 23 additions and 19 deletions

View File

@ -49,25 +49,27 @@ class Dashboard extends React.Component {
</Flex>
);
return (
<Flex flex={ true }>
<Layout
actions={ actions }
>
<CenteredContent>
<Flex direction="column" flex={ true }>
{ store.isFetching ? (
<AtlasPreviewLoading />
) : store.atlases && store.atlases.map((atlas) => {
return (<AtlasPreview key={ atlas.id } data={ atlas } />);
}) }
</Flex>
</CenteredContent>
</Layout>
return (<div></div>);
{ this.state.newAtlasVisible && <FullscreenField /> }
</Flex>
);
// return (
// <Flex flex={ true }>
// <Layout
// actions={ actions }
// >
// <CenteredContent>
// <Flex direction="column" flex={ true }>
// { store.isFetching ? (
// <AtlasPreviewLoading />
// ) : store.atlases && store.atlases.map((atlas) => {
// return (<AtlasPreview key={ atlas.id } data={ atlas } />);
// }) }
// </Flex>
// </CenteredContent>
// </Layout>
// { this.state.newAtlasVisible && <FullscreenField /> }
// </Flex>
// );
}
}

View File

@ -19,6 +19,8 @@ export default class Home extends React.Component {
}
render() {
// <SlackAuthLink />
return (
<div className={ styles.container }>
<div className={ styles.content }>
@ -44,7 +46,7 @@ export default class Home extends React.Component {
</p>
</div>
<div className={ styles.action }>
<SlackAuthLink />
</div>
</div>
</div>