diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-05-10 16:02:07 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-05-10 16:02:07 -0400 |
| commit | 632af35d8a0871ca8c1041d0e14d63e2b457d168 (patch) | |
| tree | 6d3ccae3cb20a082e4e6ea6fd982152568000193 /frontend/components/Signin.js | |
| parent | e0c628528142f26ce9a42ba4c3c5d2cb41114a56 (diff) | |
Styles
Diffstat (limited to 'frontend/components/Signin.js')
| -rw-r--r-- | frontend/components/Signin.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/components/Signin.js b/frontend/components/Signin.js index 78da284..77acc47 100644 --- a/frontend/components/Signin.js +++ b/frontend/components/Signin.js @@ -1,5 +1,5 @@ import React, { Component } from 'react'; -import { Mutation, Query, ApolloConsumer } from 'react-apollo'; +import { Mutation, ApolloConsumer } from 'react-apollo'; import { SIGNIN_MUTATION, CURRENT_USER_QUERY } from '../queries/queries'; import Error from './ErrorMessage'; import Form from './styles/Form'; @@ -28,7 +28,7 @@ class Signin extends Component { <ApolloConsumer> {client => ( <Mutation mutation={SIGNIN_MUTATION} variables={this.state}> - {(signin, { data, loading, error }) => ( + {(signin, { loading, error }) => ( <Form onSubmit={e => this.loginUser(e, signin, client)}> <Error error={error} /> <fieldset disabled={loading} aria-busy={loading}> |
