Skip to content

Commit 0a98862

Browse files
committed
review feedback
1 parent 95ce0c0 commit 0a98862

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/source/api/react/hooks.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ import { ApolloProvider } from '@apollo/client/react';
2525
```jsx {7-9}
2626
const client = new ApolloClient({
2727
cache: new InMemoryCache(),
28-
uri: "http://localhost:4000/graphql"
28+
link: new HttpLink({
29+
uri: "http://localhost:4000/graphql",
30+
})
2931
});
3032

3133
ReactDOM.render(

0 commit comments

Comments
 (0)