diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-03-12 14:06:25 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-03-12 14:06:25 -0400 |
| commit | 46a0ba30ef54a7e36206481a4f5b2bf1f9702fca (patch) | |
| tree | a95fd534fc27761d8b26d0dffcdb5f300f7a61c7 /frontend/components/Signup.js | |
| parent | f7bea2d1b7be2b70dceb25c9837f608b538e9cec (diff) | |
wip
Diffstat (limited to 'frontend/components/Signup.js')
| -rw-r--r-- | frontend/components/Signup.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/frontend/components/Signup.js b/frontend/components/Signup.js index e9d6737..3a4dd99 100644 --- a/frontend/components/Signup.js +++ b/frontend/components/Signup.js @@ -1,6 +1,7 @@ import React, { Component } from 'react'; import { graphql, compose } from 'react-apollo'; import { SIGNUP_MUTATION, CURRENT_USER_QUERY } from '../queries'; +import Form from './styles/Form'; class Signup extends Component { state = { @@ -46,7 +47,7 @@ class Signup extends Component { {this.state.error ? <p>{this.state.error.message}</p> : null} - <form onSubmit={this.createUser}> + <Form onSubmit={this.createUser}> <label htmlFor="email"> Email <input value={this.state.email} onChange={this.saveToState} name="email" type="text" placeholder="email" /> @@ -71,7 +72,7 @@ class Signup extends Component { </label> <button type="submit">Submit</button> - </form> + </Form> </div> ); } |
