wip: categories working with timeline

have removed map for the time being, as it was interrupting the timeline render. will return it in next commit
This commit is contained in:
Unknown
2018-12-03 10:47:53 +00:00
parent 5b83a82c35
commit 5c23c2ae9a
9 changed files with 93 additions and 111 deletions

View File

@@ -1,4 +1,7 @@
import React from 'react';
import { connect } from 'react-redux'
import * as selectors from '../selectors'
import Card from './Card.jsx';
import copy from '../js/data/copy.json';
import {
@@ -90,4 +93,14 @@ class CardStack extends React.Component {
}
}
export default CardStack;
function mapStateToProps(state) {
return {
selected: state.app.selected,
language: state.app.selected,
tools: state.ui.tools,
isCardstack: state.ui.flags.isCardstack,
isLoading: state.ui.flags.isFetchingEvents
}
}
export default connect(mapStateToProps)(CardStack)