11 lines
359 B
JavaScript
11 lines
359 B
JavaScript
import { connect } from 'react-redux';
|
|
import { shuffle } from '../../redux/actions/ui';
|
|
import ContentOverlay from './ContentOverlay';
|
|
|
|
const mapDispatchToProps = dispatch => {
|
|
return { shuffle: () => dispatch(shuffle()) };
|
|
};
|
|
|
|
const ContentOverlayContainer = connect(undefined, mapDispatchToProps)(ContentOverlay);
|
|
|
|
export default ContentOverlayContainer;
|