summaryrefslogtreecommitdiffstats
path: root/frontend/components/Signup.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/components/Signup.js')
-rw-r--r--frontend/components/Signup.js5
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>
);
}