text: import React, { Component } from 'react'
  import { Mutation } from 'react-apollo'
  import gql from 'graphql-tag'
  import { CURRENT_USER_QUERY } from './CurrentUser'
  
  const SIGNOUT_MUTATION = gql`
    mutation SIGNOUT_MUTATION {
      signout {
        message
      }
    }
  `
  
  const Signout = () => (
    <Mutation
      mutation={SIGNOUT_MUTATION}
      refetchQueries={[{ query: CURRENT_USER_QUERY }]}
    >
      {signout => <a onClick={signout}>Sign Out</a>}
    </Mutation>
  )
  
  export default Signout
  