File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
playground/src/redux/counters Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -767,7 +767,7 @@ export const countersActions = {
767
767
import store from ' @src/store' ;
768
768
import { countersActions } from ' @src/redux/counters' ;
769
769
770
- // store.dispatch(actionCreators .increment(1)); // Error: Expected 0 arguments, but got 1.
770
+ // store.dispatch(countersActions .increment(1)); // Error: Expected 0 arguments, but got 1.
771
771
store .dispatch (countersActions .increment ()); // OK => { type: "INCREMENT" }
772
772
773
773
` ` `
Original file line number Diff line number Diff line change 1
1
import store from '@src/store' ;
2
2
import { countersActions } from '@src/redux/counters' ;
3
3
4
- // store.dispatch(actionCreators .increment(1)); // Error: Expected 0 arguments, but got 1.
4
+ // store.dispatch(countersActions .increment(1)); // Error: Expected 0 arguments, but got 1.
5
5
store . dispatch ( countersActions . increment ( ) ) ; // OK => { type: "INCREMENT" }
You can’t perform that action at this time.
0 commit comments