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.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/frontend/components/Signup.js b/frontend/components/Signup.js
index 314d0ab..4adc1ad 100644
--- a/frontend/components/Signup.js
+++ b/frontend/components/Signup.js
@@ -1,8 +1,7 @@
import React, { Component } from 'react';
-import { graphql, compose, Mutation } from 'react-apollo';
-import { SIGNUP_MUTATION, CURRENT_USER_QUERY } from '../queries';
+import { Mutation } from 'react-apollo';
+import { SIGNUP_MUTATION } from '../queries';
import Form from './styles/Form';
-import catchError from '../lib/catchError';
import Error from './ErrorMessage';
class Signup extends Component {
@@ -20,7 +19,7 @@ class Signup extends Component {
render() {
return (
<Mutation mutation={SIGNUP_MUTATION} variables={this.state}>
- {(signup, { data, loading, error }) => (
+ {(signup, { loading, error }) => (
<Form
onSubmit={e => {
e.preventDefault();