[Glitch] Include preview cards in status entity in REST API
Port 795f0107d2 to glitch-soc
This commit is contained in:
@@ -2,7 +2,7 @@ import { connect } from 'react-redux';
|
||||
import Card from '../components/card';
|
||||
|
||||
const mapStateToProps = (state, { statusId }) => ({
|
||||
card: state.getIn(['cards', statusId], null),
|
||||
card: state.getIn(['statuses', statusId, 'card'], null),
|
||||
});
|
||||
|
||||
export default connect(mapStateToProps)(Card);
|
||||
|
||||
Reference in New Issue
Block a user