We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9b760c commit c5cc3bbCopy full SHA for c5cc3bb
web/src/graphql/mutations/updateAccountMutation.ts
@@ -1,13 +1,10 @@
1
import { UpdateAccountMutation, UpdateAccountMutationVariables } from "../../graphql-types"
2
import { gql } from "../../utils/gql"
3
import { MutationOptions, useMutation } from "../../utils/graphqlClient/useMutation"
4
-import { FullAccountFragment } from "../fragments/accountFragments"
5
import { ACCOUNTS_QUERY } from "../queries/accountsQuery"
6
import { GET_ACCOUNT_QUERY } from "../queries/getAccountQuery"
7
8
const UPDATE_ACCOUNT_MUTATION = gql`
9
- ${FullAccountFragment}
10
-
11
mutation UpdateAccount($id: ID!, $input: AccountInput!) {
12
accountUpdate(input: { id: $id, accountInput: $input }) {
13
account {
0 commit comments