Fixes
This commit is contained in:
@ -1,6 +1,5 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { observer } from 'mobx-react';
|
import { observer } from 'mobx-react';
|
||||||
import ReactCSSTransitionGroup from 'react-addons-css-transition-group';
|
|
||||||
|
|
||||||
import store from './DashboardStore';
|
import store from './DashboardStore';
|
||||||
|
|
||||||
@ -26,21 +25,13 @@ class Dashboard extends React.Component {
|
|||||||
<Layout>
|
<Layout>
|
||||||
<CenteredContent>
|
<CenteredContent>
|
||||||
<Flex column auto>
|
<Flex column auto>
|
||||||
<ReactCSSTransitionGroup
|
{ store.isFetching ? (
|
||||||
transitionName="fadeIn"
|
<AtlasPreviewLoading />
|
||||||
transitionAppear
|
) : (
|
||||||
transitionAppearTimeout={ 0 }
|
store.collections && store.collections.map((collection) => {
|
||||||
transitionEnterTimeout={ 0 }
|
return (<AtlasPreview key={ collection.id } data={ collection } />);
|
||||||
transitionLeaveTimeout={ 0 }
|
})
|
||||||
>
|
) }
|
||||||
{ store.isFetching ? (
|
|
||||||
<AtlasPreviewLoading />
|
|
||||||
) : (
|
|
||||||
store.collections && store.collections.map((collection) => {
|
|
||||||
return (<AtlasPreview key={ collection.id } data={ collection } />);
|
|
||||||
})
|
|
||||||
) }
|
|
||||||
</ReactCSSTransitionGroup>
|
|
||||||
</Flex>
|
</Flex>
|
||||||
</CenteredContent>
|
</CenteredContent>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
import _ from 'lodash';
|
|
||||||
import { action, toJS } from 'mobx';
|
import { action, toJS } from 'mobx';
|
||||||
|
|
||||||
const CACHE_STORE = 'CACHE_STORE';
|
const CACHE_STORE = 'CACHE_STORE';
|
||||||
|
@ -123,15 +123,15 @@
|
|||||||
"querystring": "0.2.0",
|
"querystring": "0.2.0",
|
||||||
"randomstring": "1.1.5",
|
"randomstring": "1.1.5",
|
||||||
"raw-loader": "^0.5.1",
|
"raw-loader": "^0.5.1",
|
||||||
"react": "15.3.1",
|
"react": "15.3.2",
|
||||||
"react-addons-css-transition-group": "15.3.1",
|
"react-addons-css-transition-group": "15.3.2",
|
||||||
"react-codemirror": "0.2.6",
|
"react-codemirror": "0.2.6",
|
||||||
"react-dom": "15.1.0",
|
"react-dom": "15.3.2",
|
||||||
"react-dropzone": "3.6.0",
|
"react-dropzone": "3.6.0",
|
||||||
"react-helmet": "3.1.0",
|
"react-helmet": "3.1.0",
|
||||||
"react-keydown": "^1.6.1",
|
"react-keydown": "^1.6.1",
|
||||||
"react-router": "2.8.0",
|
"react-router": "2.8.0",
|
||||||
"rebass": "0.2.6",
|
"rebass": "0.3.3",
|
||||||
"redis": "^2.6.2",
|
"redis": "^2.6.2",
|
||||||
"redis-lock": "^0.1.0",
|
"redis-lock": "^0.1.0",
|
||||||
"reflexbox": "^2.0.0",
|
"reflexbox": "^2.0.0",
|
||||||
|
Reference in New Issue
Block a user