logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

card_container.js (231B)


  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);