This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2019-03-03 13:18:23 -08:00
|
|
|
import { connect } from 'react-redux';
|
2019-05-19 14:02:32 -07:00
|
|
|
import Poll from 'flavours/glitch/components/poll';
|
2019-03-03 13:18:23 -08:00
|
|
|
|
|
|
|
const mapStateToProps = (state, { pollId }) => ({
|
|
|
|
poll: state.getIn(['polls', pollId]),
|
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(mapStateToProps)(Poll);
|