Skip to content

Commit ef34f4a

Browse files
committed
Update AsyncActions.md
1 parent 5a61131 commit ef34f4a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/advanced/AsyncActions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export const RECEIVE_POSTS = 'RECEIVE_POSTS';
9696
export function receivePosts(reddit, json) {
9797
return {
9898
type: RECEIVE_POSTS,
99-
reddit: reddit,
99+
reddit,
100100
posts: json.data.children.map(child => child.data),
101101
receivedAt: Date.now()
102102
};
@@ -384,7 +384,7 @@ export const RECEIVE_POSTS = 'RECEIVE_POSTS'
384384
function receivePosts(reddit, json) {
385385
return {
386386
type: RECEIVE_POSTS,
387-
reddit: reddit,
387+
reddit,
388388
posts: json.data.children.map(child => child.data),
389389
receivedAt: Date.now()
390390
};
@@ -448,7 +448,7 @@ export const RECEIVE_POSTS = 'RECEIVE_POSTS'
448448
function receivePosts(reddit, json) {
449449
return {
450450
type: RECEIVE_POSTS,
451-
reddit: reddit,
451+
reddit,
452452
posts: json.data.children.map(child => child.data),
453453
receivedAt: Date.now()
454454
};

0 commit comments

Comments
 (0)