Skip to content

Commit

Permalink
docs: ok
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Jul 10, 2024
1 parent 56c9aac commit 925add8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/docs/api/pinia/functions/mapActions.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ export default {
methods: {
// other methods properties
// useCounterStore has two actions named `increment` and `setCount`
...mapActions(useCounterStore, { moar: 'increment', setIt: 'setCount' })
...mapActions(useCounterStore, { more: 'increment', setIt: 'setCount' })
},

created() {
this.moar()
this.more()
this.setIt(2)
}
}
Expand Down

0 comments on commit 925add8

Please sign in to comment.