// @flow import React from 'react'; import { observer, inject } from 'mobx-react'; import { Flex } from 'reflexbox'; import CollectionsStore from 'stores/CollectionsStore'; import PageTitle from 'components/PageTitle'; import Collection from 'components/Collection'; import CenteredContent from 'components/CenteredContent'; import PreviewLoading from 'components/PreviewLoading'; type Props = { collections: CollectionsStore, }; @observer class Dashboard extends React.Component { props: Props; render() { const { collections } = this.props; return (

Home

{!collections.isLoaded ? : collections.data.map(collection => ( ))}
); } } export default inject('collections')(Dashboard);