File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ Initializes the app by either setting the initial value of the [state](../archit
64
64
65
65
- ` init: Action `
66
66
67
- Runs the given [ Action] ( ../architecture/action .md ) .
67
+ Runs the given [ Action] ( ../architecture/actions .md ) .
68
68
69
69
This form is useful when the action can be reused later. The state passed to the action in this case is ` undefined ` .
70
70
@@ -79,7 +79,7 @@ Initializes the app by either setting the initial value of the [state](../archit
79
79
80
80
- ` init: [Action, payload] `
81
81
82
- Runs the given [ Action] ( ../architecture/actio .md ) with a payload.
82
+ Runs the given [ Action] ( ../architecture/actions .md ) with a payload.
83
83
84
84
``` js
85
85
const SetCounter = (_state , n ) => ({ counter: n })
You can’t perform that action at this time.
0 commit comments