2017-01-19 19:00:14 -05:00
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import Card from '../components/card';
|
|
|
|
|
|
|
|
const mapStateToProps = (state, { statusId }) => ({
|
2017-05-20 11:31:47 -04:00
|
|
|
card: state.getIn(['cards', statusId], null),
|
2017-01-19 19:00:14 -05:00
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(mapStateToProps)(Card);
|