mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-29 03:20:26 -05:00
2e112e2406
* Add semi to ESLint rules * Add padded-blocks to ESLint rules * Add comma-dangle to ESLint rules * add config/webpack and storyboard * add streaming/ * yarn test:lint -- --fix
9 lines
231 B
JavaScript
9 lines
231 B
JavaScript
import { connect } from 'react-redux';
|
|
import Card from '../components/card';
|
|
|
|
const mapStateToProps = (state, { statusId }) => ({
|
|
card: state.getIn(['cards', statusId], null),
|
|
});
|
|
|
|
export default connect(mapStateToProps)(Card);
|