src/containers/Youth/index.tsx
import { connect } from 'react-redux';
import { YouthContent } from './YouthContent';
import mapStoreToProps from '../../redux/mapStoreToProps';
import commonUtils from '../../lib/commonUtils';
export const Youth = (
): JSX.Element => {
commonUtils.setTitleAndScroll('Youth Ministry', window.screen.width);
return (
<YouthContent />
);
};
Youth.defaultProps = { youthPics: [] };
export default connect(mapStoreToProps, null)(Youth as any);