Skip to content

Commit 9f30130

Browse files
committed
Update useMutation docs to remove reference to suspense
1 parent 4b557ca commit 9f30130

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/pages/reference/useMutation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ mutate(variables, {
6969
- `useErrorBoundary: undefined | boolean | (error: TError) => boolean`
7070
- Defaults to the global query config's `useErrorBoundary` value, which is `undefined`
7171
- Set this to `true` if you want mutation errors to be thrown in the render phase and propagate to the nearest error boundary
72-
- Set this to `false` to disable `suspense`'s default behaviour of throwing errors to the error boundary.
72+
- Set this to `false` to disable the behaviour of throwing errors to the error boundary.
7373
- If set to a function, it will be passed the error and should return a boolean indicating whether to show the error in an error boundary (`true`) or return the error as state (`false`)
7474

7575
**Returns**

0 commit comments

Comments
 (0)