text: import React from 'react';
  import SignupForm from './SignupForm';
  import { connect } from 'react-redux';
  import { userSignupRequest, isUserExists } from '../../actions/signupActions';
  import { addFlashMessage } from '../../actions/flashMessages.js';
  
  class SignupPage extends React.Component {
    render() {
      const { userSignupRequest, addFlashMessage, isUserExists } = this.props;
      return (
        <div className="row">
          <div className="col-md-4 col-md-offset-4">
            <SignupForm
              // isUserExists={isUserExists}
              userSignupRequest={userSignupRequest}
              addFlashMessage={addFlashMessage} />
          </div>
        </div>
      );
    }
  }
  
  SignupPage.propTypes = {
    userSignupRequest: React.PropTypes.func.isRequired,
    addFlashMessage: React.PropTypes.func.isRequired,
    // isUserExists: React.PropTypes.func.isRequired
  }
  
  
  export default connect(null, { userSignupRequest, addFlashMessage, isUserExists })(SignupPage);
  