Skip to content

Commit 8272831

Browse files
committed
Update ExampleRedditAPI.md
1 parent ef34f4a commit 8272831

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/advanced/ExampleRedditAPI.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function requestPosts(reddit) {
5454
function receivePosts(reddit, json) {
5555
return {
5656
type: RECEIVE_POSTS,
57-
reddit: reddit,
57+
reddit,
5858
posts: json.data.children.map(child => child.data),
5959
receivedAt: Date.now()
6060
};
@@ -363,4 +363,4 @@ export default class Posts extends Component {
363363
Posts.propTypes = {
364364
posts: PropTypes.array.isRequired
365365
};
366-
```
366+
```

0 commit comments

Comments
 (0)