2019-03-03 16:18:23 -05:00
|
|
|
import { connect } from 'react-redux';
|
2019-05-19 17:02:32 -04:00
|
|
|
import Poll from 'flavours/glitch/components/poll';
|
2019-03-03 16:18:23 -05:00
|
|
|
|
|
|
|
const mapStateToProps = (state, { pollId }) => ({
|
|
|
|
poll: state.getIn(['polls', pollId]),
|
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(mapStateToProps)(Poll);
|