Skip to content

Commit 32e33a4

Browse files
nipunn1313efekrskl
authored andcommitted
convex-backend PR 124: docs: remove redundant line in mutation docs (#38313)
Removes repeated sentence from mutation docs to keep it consistent with query docs. Thanks for the great tool and docs! ---- By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. Co-authored-by: Efe Karasakal <dogukankrskl@gmail.com> GitOrigin-RevId: caa9737e3799389e4d29052bc4fc06e640fdb679
1 parent aaecd50 commit 32e33a4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

npm-packages/docs/docs/functions/mutation-functions.mdx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,8 @@ npm install @faker-js/faker
162162

163163
## Calling mutations from clients
164164

165-
To call a mutation from [React](/client/react.mdx) use the generated
166-
[`useMutation`](/client/react.mdx#editing-data) hook:
167-
168165
To call a mutation from [React](/client/react.mdx) use the
169-
[`useMutation`](/api/modules/react#usemutation) hook along with the generated
166+
[`useMutation`](/client/react.mdx#editing-data) hook along with the generated
170167
[`api`](/generated-api/api) object.
171168

172169
<TSAndJSSnippet sourceTS={Call} sourceJS={Call} title="src/myApp.tsx" />

0 commit comments

Comments
 (0)