Skip to content

Commit

Permalink
Fixed a edges -> an edges type in docs (#6028)
Browse files Browse the repository at this point in the history
Fixed a edges -> an edges type in docs (#6028)

Co-authored-by: Hugh Willson <hugh@octonary.com>
  • Loading branch information
luukvnes and hwillson authored Jun 3, 2020
1 parent f5353d6 commit 2d61e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/data/local-state.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ const client = new ApolloClient({
});
```

[`CameraRoll.getPhotos()`](https://facebook.github.io/react-native/docs/cameraroll.html#getphotos) returns a `Promise` resolving to an object with a `edges` property, which is an array of camera node objects, and a `page_info` property, which is an object with pagination information. This is a great use case for GraphQL, since we can filter down the return value to only the data that our components consume.
[`CameraRoll.getPhotos()`](https://facebook.github.io/react-native/docs/cameraroll.html#getphotos) returns a `Promise` resolving to an object with an `edges` property, which is an array of camera node objects, and a `page_info` property, which is an object with pagination information. This is a great use case for GraphQL, since we can filter down the return value to only the data that our components consume.

```js
import { gql } from "@apollo/client";
Expand Down

0 comments on commit 2d61e5c

Please sign in to comment.