Skip to content

Commit d9467ff

Browse files
authored
docs: Update isError to error (TanStack#2483)
1 parent 3fe2b4a commit d9467ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/pages/guides/mutations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ A mutation can only be in one of the following states at any given moment:
4646

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

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

5252
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**.

0 commit comments

Comments
 (0)