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