{"size": 662, "ext": "js", "max_stars_repo_path": "src/containers/Account/SignUp/SingUp.js", "max_stars_repo_name": "wesimy/Honestagram", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/containers/Account/SignUp/SingUp.js", "max_issues_repo_name": "wesimy/Honestagram", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/containers/Account/SignUp/SingUp.js", "max_forks_repo_name": "wesimy/Honestagram", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.5185185185, "max_line_length": 72, "alphanum_fraction": 0.6389728097}
import React, { Component } from 'react'

import withoutAuth from '../../../hoc/WithoutAuth/WithoutAuth';
import MasterPage from '../../../hoc/MasterPage/MasterPage';
import SignUpForm from './SignUpForm/SignUpForm';

class SignUp extends Component {
  onSubmit(values) {
    this.props.signup(values.email, values.password).catch(err => {
      // UIkit.notification(err, {status: 'danger'});  
    });
  }
  render() {
    return (
      <div className="uk-position-center uk-overlay uk-overlay-default">

                <div className="uk-container ">
        <SignUpForm/>
        </div></div>
    )
  }
}




export default withoutAuth(MasterPage(SignUp));