mirror of
https://github.com/zhigang1992/apollo.git
synced 2026-01-12 22:45:53 +08:00
Merge pull request #559 from TylerJBrown192/patch-1
Fix named import in code snippet
This commit is contained in:
@@ -86,7 +86,7 @@ Let's look at an example where we query the `isLoggedIn` field we wrote to the c
|
||||
_src/index.js_
|
||||
|
||||
```jsx{8-12,15}
|
||||
import { ApolloProvider, Query } from '@apollo/react-hooks';
|
||||
import { ApolloProvider, useQuery } from '@apollo/react-hooks';
|
||||
import gql from 'graphql-tag';
|
||||
|
||||
import Pages from './pages';
|
||||
|
||||
Reference in New Issue
Block a user