@@ -90,7 +90,7 @@ On top of these, it receives two functions that allow setting up a callback
90
90
once the action finishes or when it fails.
91
91
92
92
It also returns a function to remove the callback. Note than when calling
93
- ` store.$onAction() ` inside of a component, it will be automatically cleanup
93
+ ` store.$onAction() ` inside of a component, it will be automatically cleaned
94
94
up when the component gets unmounted unless ` detached ` is set to true.
95
95
96
96
** ` example ` **
@@ -136,7 +136,7 @@ On top of these, it receives two functions that allow setting up a callback
136
136
once the action finishes or when it fails.
137
137
138
138
It also returns a function to remove the callback. Note than when calling
139
- ` store.$onAction() ` inside of a component, it will be automatically cleanup
139
+ ` store.$onAction() ` inside of a component, it will be automatically cleaned
140
140
up when the component gets unmounted unless ` detached ` is set to true.
141
141
142
142
** ` example ` **
238
238
▸ ** $subscribe** (` callback ` , ` options? ` ): () => ` void `
239
239
240
240
Setups a callback to be called whenever the state changes. It also returns a function to remove the callback. Note
241
- than when calling ` store.$subscribe() ` inside of a component, it will be automatically cleanup up when the
241
+ than when calling ` store.$subscribe() ` inside of a component, it will be automatically cleaned up when the
242
242
component gets unmounted unless ` detached ` is set to true.
243
243
244
244
#### Parameters
@@ -257,7 +257,7 @@ function that removes the watcher
257
257
▸ (): ` void `
258
258
259
259
Setups a callback to be called whenever the state changes. It also returns a function to remove the callback. Note
260
- than when calling ` store.$subscribe() ` inside of a component, it will be automatically cleanup up when the
260
+ than when calling ` store.$subscribe() ` inside of a component, it will be automatically cleaned up when the
261
261
component gets unmounted unless ` detached ` is set to true.
262
262
263
263
##### Returns
0 commit comments