d600a74410
This reverts commit dc2d3b1b09
.
11 lines
251 B
JavaScript
11 lines
251 B
JavaScript
import { connect } from 'react-redux';
|
|
|
|
import Poll from 'soapbox/components/poll';
|
|
|
|
const mapStateToProps = (state, { pollId }) => ({
|
|
poll: state.getIn(['polls', pollId]),
|
|
me: state.get('me'),
|
|
});
|
|
|
|
|
|
export default connect(mapStateToProps)(Poll);
|