Skip to content

Commit 57297cb

Browse files
committed
Update 08_dispatch-async-action-1.js
There is no SET_NAME action type nor function.
1 parent e30e1d8 commit 57297cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

08_dispatch-async-action-1.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ console.log(new Date());
5151
store_0.dispatch(sayActionCreator('Hi'))
5252

5353
console.log(new Date());
54-
console.log('store_0 state after action SET_NAME:', store_0.getState())
54+
console.log('store_0 state after action SAY:', store_0.getState())
5555
// Output (skipping initialization output):
5656
// Sun Aug 02 2015 01:03:05 GMT+0200 (CEST)
5757
// speaker was called with state {} and action { type: 'SAY', message: 'Hi' }

0 commit comments

Comments
 (0)