File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ export const RECEIVE_POSTS = 'RECEIVE_POSTS';
96
96
export function receivePosts (reddit , json ) {
97
97
return {
98
98
type: RECEIVE_POSTS ,
99
- reddit: reddit ,
99
+ reddit,
100
100
posts: json .data .children .map (child => child .data ),
101
101
receivedAt: Date .now ()
102
102
};
@@ -384,7 +384,7 @@ export const RECEIVE_POSTS = 'RECEIVE_POSTS'
384
384
function receivePosts (reddit , json ) {
385
385
return {
386
386
type: RECEIVE_POSTS ,
387
- reddit: reddit ,
387
+ reddit,
388
388
posts: json .data .children .map (child => child .data ),
389
389
receivedAt: Date .now ()
390
390
};
@@ -448,7 +448,7 @@ export const RECEIVE_POSTS = 'RECEIVE_POSTS'
448
448
function receivePosts (reddit , json ) {
449
449
return {
450
450
type: RECEIVE_POSTS ,
451
- reddit: reddit ,
451
+ reddit,
452
452
posts: json .data .children .map (child => child .data ),
453
453
receivedAt: Date .now ()
454
454
};
You can’t perform that action at this time.
0 commit comments