alpinesmuseum-public/assets/js/components/AppContent/ContentOverlayContainer.js
2022-09-23 07:38:37 +05:30

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;