Skip to content

Commit 9cf2fa3

Browse files
committed
Fix documentation note about using redirect + mutationOptions props.
1 parent 013c27e commit 9cf2fa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Edit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ const PostEdit = () => (
600600
);
601601
```
602602

603-
Note that the `redirect` prop is ignored if you set [the `mutationOptions` prop](#mutationoptions). See that prop for how to set a different redirection path in that case.
603+
Note that the `redirect` prop is ignored if you set an `onSuccess` callback of [the `mutationOptions` prop](#mutationoptions). See that prop for how to set a different redirection path in that case.
604604

605605
**Warning**: If you set [`queryOptions`](#queryoptions) meta without redirecting, make sure that [`mutationOptions`](#mutationoptions) meta is the same, or you will have data update issues.
606606

0 commit comments

Comments
 (0)