summaryrefslogtreecommitdiffstats
path: root/frontend/components/Signup.js
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-04-19 11:32:56 -0400
committerWes Bos <wesbos@gmail.com>2018-04-19 11:32:56 -0400
commitdfc6977317473f0ba8bc7be66994a39968097b4f (patch)
tree9e9456742dd05ba5c51843c38f876c0bbaa39dd3 /frontend/components/Signup.js
parent990d5ec5af9cea56812e952c3155a346876621cb (diff)
queries fix
Diffstat (limited to 'frontend/components/Signup.js')
-rw-r--r--frontend/components/Signup.js10
1 files changed, 8 insertions, 2 deletions
diff --git a/frontend/components/Signup.js b/frontend/components/Signup.js
index 2fc8950..d7c7062 100644
--- a/frontend/components/Signup.js
+++ b/frontend/components/Signup.js
@@ -1,6 +1,6 @@
import React, { Component } from 'react';
import { Mutation } from 'react-apollo';
-import { SIGNUP_MUTATION, CURRENT_USER_QUERY } from '../queries';
+import { SIGNUP_MUTATION, CURRENT_USER_QUERY } from '../queries/queries';
import Form from './styles/Form';
import Error from './ErrorMessage';
import { client } from '../lib/withData';
@@ -45,7 +45,13 @@ class Signup extends Component {
<label htmlFor="name">
Name
- <input type="text" name="name" placeholder="name" value={this.state.name} onChange={this.saveToState} />
+ <input
+ type="text"
+ name="name"
+ placeholder="name"
+ value={this.state.name}
+ onChange={this.saveToState}
+ />
</label>
<label htmlFor="signupPassword">