mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
9 lines
234 B
JavaScript
9 lines
234 B
JavaScript
import { connect } from 'react-redux';
|
|
import Poll from 'flavours/glitch/components/poll';
|
|
|
|
const mapStateToProps = (state, { pollId }) => ({
|
|
poll: state.getIn(['polls', pollId]),
|
|
});
|
|
|
|
export default connect(mapStateToProps)(Poll);
|