You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
"description":"add a param of `id` to your action creator",
31
+
"description":"Pass an action as a second param to the reducer",
32
32
"tests": [
33
-
"03/03"
33
+
"04/03"
34
34
]
35
35
},
36
36
{
37
-
"description":"create an action type for `voteUp`",
38
-
"hints": [
39
-
"const VOTE_UP =\"VOTE_UP\""
40
-
],
37
+
"description":"Dispatch two voteUp actions through the reducer: `store.dispatch(voteUp(2))`. Change your log statement inside of your reducer to look like this: `console.log('state: ', state, 'action: ', action)`",
41
38
"tests": [
42
-
"03/04"
39
+
"04/04"
43
40
]
44
41
},
45
42
{
46
-
"description":"Use the action type inside your `voteUp`action creator. Notice how your editor may autocomplete the action type.",
43
+
"description":"Create a `switch` statement and pass in `action.type`, the default return should return `state`",