Download spectrum/shared/graphql/mutations/user/deleteCurrentUser.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 377 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/spectrum/shared/graphql/mutations/user/deleteCurrentUser.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/spectrum/shared/graphql/mutations/user/deleteCurrentUser.js
-
curl -L -o deleteCurrentUser.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/spectrum/shared/graphql/mutations/user/deleteCurrentUser.js
377 Bytes
| // @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); | |