Skip to content

docs: remove redundant line in mutation docs #124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions npm-packages/docs/docs/functions/mutation-functions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,8 @@ npm install @faker-js/faker

## Calling mutations from clients

To call a mutation from [React](/client/react.mdx) use the generated
[`useMutation`](/client/react.mdx#editing-data) hook:

To call a mutation from [React](/client/react.mdx) use the
[`useMutation`](/api/modules/react#usemutation) hook along with the generated
[`useMutation`](/client/react.mdx#editing-data) hook along with the generated
[`api`](/generated-api/api) object.

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