Skip to content

Commit 23b30f0

Browse files
authored
dispatch FETCH_TWEETS
1 parent 14c11ad commit 23b30f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

5-redux-react/src/js/actions/tweetsActions.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import axios from "axios";
22

33
export function fetchTweets() {
44
return function(dispatch) {
5+
dispatch({type: "FETCH_TWEETS"});
6+
57
/*
68
http://rest.learncode.academy is a public test server, so another user's experimentation can break your tests
79
If you get console errors due to bad data:

0 commit comments

Comments
 (0)