import { connect } from 'react-redux'
import EnrollResult from '../components/EnrollResult'

const mapStateToProps = (state, ownProps) => {
  return {
    error: state.enroll.error
  }
}

export default connect(mapStateToProps)(EnrollResult)
