File size: 377 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
// @flow
import { graphql } from 'react-apollo';
import gql from 'graphql-tag';
export const deleteCurrentUserMutation = gql`
mutation deleteCurrentUser {
deleteCurrentUser
}
`;
const deleteCurrentUserOptions = {
props: ({ mutate }) => ({
deleteCurrentUser: () => mutate(),
}),
};
export default graphql(deleteCurrentUserMutation, deleteCurrentUserOptions);
|