reasonml-community / reason-apollo-hooks

Deprecated in favor of https://github.com/reasonml-community/graphql-ppx
https://reasonml-community.github.io/reason-apollo-hooks/
MIT License
137 stars 28 forks source link

Fix typo in Subscription documentation #115

Closed bdunn313 closed 4 years ago

bdunn313 commented 4 years ago

Currently there is a typo in the example links code in the documentation.

The variable should be link instead of webSocketHttpLink in the example code.

/* Using the ability to split links, you can send data to each link
    depending on what kind of operation is being sent */
-let webSocketHttpLink =
+let link =
    ApolloLinks.split(...