Skip to content

Commit 0bbad8c

Browse files
authored
docs: fix typo in subscribeAction api (#1727)
1 parent 61d2ad0 commit 0bbad8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ const store = new Vuex.Store({ ...options })
213213
By default, new handler is added to the end of the chain, so it will be executed after other handlers that were added before. This can be overriden by adding `prepend: true` to `options`, which will add the handler to the beginning of the chain.
214214
215215
``` js
216-
store.subscribe(handler, { prepend: true })
216+
store.subscribeAction(handler, { prepend: true })
217217
```
218218
219219
To stop subscribing, call the returned unsubscribe function.

0 commit comments

Comments
 (0)