import React, { Component } from 'react'; import { Mutation } from 'react-apollo'; import gql from 'graphql-tag'; import { CURRENT_USER_QUERY } from './User'; const SIGN_OUT_MUTATION = gql` mutation SIGN_OUT_MUTATION { signout { message } } `; class Signout extends Component { render() { return ( {signout => } ); } } export default Signout; export { SIGN_OUT_MUTATION };