From 7b026d2f14d24c78f169e116f1be56130a113383 Mon Sep 17 00:00:00 2001 From: Christopher Miller Date: Mon, 8 Apr 2019 19:45:43 -0400 Subject: [PATCH] Update react-apollo.md (#4468) change `client` prop description for `Mutation` and `Subscription` components --- docs/source/api/react-apollo.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/api/react-apollo.md b/docs/source/api/react-apollo.md index 05c78613e72..f58c284fb4e 100644 --- a/docs/source/api/react-apollo.md +++ b/docs/source/api/react-apollo.md @@ -148,7 +148,7 @@ The Mutation component accepts the following props. Only `mutation` and `childre
`context`: Record
Shared context between your Mutation component and your network interface (Apollo Link). Useful for setting headers from props or sending information to the `request` function of Apollo Boost.
`client`: ApolloClient
-
An `ApolloClient` instance. By default `Query` uses the client passed down via context, but a different client can be passed in.
+
An `ApolloClient` instance. By default `Mutation` uses the client passed down via context, but a different client can be passed in.

Render prop function

@@ -197,7 +197,7 @@ The Subscription component accepts the following props. Only `subscription` and
`fetchPolicy`: FetchPolicy
How you want your component to interact with the Apollo cache. Defaults to "cache-first".
`client`: ApolloClient
-
An `ApolloClient` instance. By default `Query` uses the client passed down via context, but a different client can be passed in.
+
An `ApolloClient` instance. By default `Subscription` uses the client passed down via context, but a different client can be passed in.

Render prop function