Skip to content

Commit

Permalink
Correct import statement in documentation (#4266)
Browse files Browse the repository at this point in the history
* Correct import statement

Importing the default yields an error: "ApolloBoost was initialized with unsupported options: link". You must import the named component in order for this to work.

* Changelog update
  • Loading branch information
shelmire authored and hwillson committed Jan 3, 2019
1 parent 14333c8 commit 348d74c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
[@evans](https://github.com/evans) in [#4213](https://github.com/apollographql/apollo-client/pull/4213) <br/>
[@danilobuerger](https://github.com/danilobuerger) in [#4214](https://github.com/apollographql/apollo-client/pull/4214) <br/>
[@stubailo](https://github.com/stubailo) in [#4220](https://github.com/apollographql/apollo-client/pull/4220) <br/>
[@haysclark](https://github.com/haysclark) in [#4255](https://github.com/apollographql/apollo-client/pull/4255)
[@haysclark](https://github.com/haysclark) in [#4255](https://github.com/apollographql/apollo-client/pull/4255) <br/>
[@shelmire](https://github.com/shelmire) in [#4266](https://github.com/apollographql/apollo-client/pull/4266)

### Apollo Utilities (vNext)

Expand Down
2 changes: 1 addition & 1 deletion docs/source/advanced/caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ After installing the package, you'll want to initialize the cache constructor. T
```js
import { InMemoryCache } from 'apollo-cache-inmemory';
import { HttpLink } from 'apollo-link-http';
import ApolloClient from 'apollo-client';
import { ApolloClient } from 'apollo-client';

const cache = new InMemoryCache();

Expand Down

0 comments on commit 348d74c

Please sign in to comment.