Skip to content

Commit

Permalink
docs: Update isError to error (#2483)
Browse files Browse the repository at this point in the history
  • Loading branch information
drewbaumann authored Jul 23, 2021
1 parent 3fe2b4a commit d9467ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/guides/mutations.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ A mutation can only be in one of the following states at any given moment:

Beyond those primary states, more information is available depending on the state of the mutation:

- `error` - If the mutation is in an `isError` state, the error is available via the `error` property.
- `error` - If the mutation is in an `error` state, the error is available via the `error` property.
- `data` - If the mutation is in a `success` state, the data is available via the `data` property.

In the example above, you also saw that you can pass variables to your mutations function by calling the `mutate` function with a **single variable or object**.
Expand Down

1 comment on commit d9467ff

@vercel
Copy link

@vercel vercel bot commented on d9467ff Jul 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.