18870c45f1
Port cf2ab9c394
to glitch-soc
8 lines
242 B
JavaScript
8 lines
242 B
JavaScript
import { connect } from 'react-redux';
|
|
import Card from '../components/card';
|
|
|
|
const mapStateToProps = (state, { statusId }) => ({
|
|
card: state.getIn(['statuses', statusId, 'card'], null),
|
|
});
|
|
|
|
export default connect(mapStateToProps)(Card);
|