text: import React, { Component } from 'react';
  
  import SignUpForm from './signupform';
  import PageTitle from '../pageTitle';
  
  import { Connect, connect } from 'react-redux';
  import * as actions from '../../actions';
  
  class SignUp extends Component {
  
      componentDidMount() {
          this.props.setHeaderLinks([]);
          this.props.setNavbarLinks([]);
      }
  
      onSubmit = (fields) => {
          console.log(fields);
      }
  
      render() {
          return (
              <div className='sign-up'>
                  <PageTitle className='sign-up__page-title' title='Login' />
                  <SignUpForm onSubmit={this.onSubmit} className='sign-up__form' />
              </div>
          )
      }
  }
  
  SignUp = connect(null, actions)(SignUp);
  export default SignUp;