Gab Social. All are welcome.
This commit is contained in:
8
app/javascript/gabsocial/containers/poll_container.js
Normal file
8
app/javascript/gabsocial/containers/poll_container.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import { connect } from 'react-redux';
|
||||
import Poll from 'gabsocial/components/poll';
|
||||
|
||||
const mapStateToProps = (state, { pollId }) => ({
|
||||
poll: state.getIn(['polls', pollId]),
|
||||
});
|
||||
|
||||
export default connect(mapStateToProps)(Poll);
|
||||
Reference in New Issue
Block a user