WebJamApps/CollegeLutheran

View on GitHub
src/containers/Youth/index.tsx

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
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);