闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
231 B

  1. import { connect } from 'react-redux';
  2. import Card from '../components/card';
  3. const mapStateToProps = (state, { statusId }) => ({
  4. card: state.getIn(['cards', statusId], null),
  5. });
  6. export default connect(mapStateToProps)(Card);