diff --git a/website/versioned_docs/version-v14.0.0/api-reference/relay-runtime/fetch-query.md b/website/versioned_docs/version-v14.0.0/api-reference/relay-runtime/fetch-query.md index 75c3df6938556..dd2234323a451 100644 --- a/website/versioned_docs/version-v14.0.0/api-reference/relay-runtime/fetch-query.md +++ b/website/versioned_docs/version-v14.0.0/api-reference/relay-runtime/fetch-query.md @@ -18,7 +18,7 @@ If you want to fetch a query outside of React, you can use the `fetchQuery` func ```js // You should prefer passing an environment that was returned from useRelayEnvironment() -const MyEnvironment = require('MyEnvironment'); +const environment = require('MyEnvironment'); const {fetchQuery} = require('react-relay'); fetchQuery(