diff --git a/website/versioned_docs/version-v14.0.0/api-reference/relay-runtime/commit-mutation.md b/website/versioned_docs/version-v14.0.0/api-reference/relay-runtime/commit-mutation.md index e9a3bb2f3c376..e45eb1053e6b7 100644 --- a/website/versioned_docs/version-v14.0.0/api-reference/relay-runtime/commit-mutation.md +++ b/website/versioned_docs/version-v14.0.0/api-reference/relay-runtime/commit-mutation.md @@ -22,7 +22,7 @@ See also the [`useMutation`](../use-mutation/) API and [Guide to Updating Data]( import type {FeedbackLikeMutation} from 'FeedbackLikeMutation.graphql'; const React = require('React'); -const {graphql, useMutation} = require('react-relay'); +const {graphql, commitMutation} = require('react-relay'); function likeFeedback(environment: IEnvironment): Disposable { return commitMutation(environment, {