@@ -90,7 +90,7 @@ On top of these, it receives two functions that allow setting up a callback
9090once the action finishes or when it fails.
9191
9292It 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
9494up when the component gets unmounted unless ` detached ` is set to true.
9595
9696** ` example ` **
@@ -136,7 +136,7 @@ On top of these, it receives two functions that allow setting up a callback
136136once the action finishes or when it fails.
137137
138138It 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
140140up when the component gets unmounted unless ` detached ` is set to true.
141141
142142** ` example ` **
238238▸ ** $subscribe** (` callback ` , ` options? ` ): () => ` void `
239239
240240Setups 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
242242component gets unmounted unless ` detached ` is set to true.
243243
244244#### Parameters
@@ -257,7 +257,7 @@ function that removes the watcher
257257▸ (): ` void `
258258
259259Setups 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
261261component gets unmounted unless ` detached ` is set to true.
262262
263263##### Returns
0 commit comments