]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: fix typo (#1474)
authorcodersjj <44868357+codersjj@users.noreply.github.com>
Sun, 24 Jul 2022 15:53:31 +0000 (23:53 +0800)
committerGitHub <noreply@github.com>
Sun, 24 Jul 2022 15:53:31 +0000 (17:53 +0200)
packages/docs/core-concepts/state.md

index a54b9b91bd64d19034181cf0907ee4b6f74bd6eb..143cbeeea96f7fae8c8e071fdfff3759b88d6da4 100644 (file)
@@ -24,7 +24,7 @@ const useStore = defineStore('storeId', {
 ```
 
 :::tip
-If you are using Vue 2, the data you create in `state` follows the same rules as the `data` in a Vue instance, ie the state object must be plain and you need to call `Vue.set()` when **adding new** properties to it. **See also: [Vue#data](https://v2.vuejs.org/v2/api/#data)**.
+If you are using Vue 2, the data you create in `state` follows the same rules as the `data` in a Vue instance, i.e. the state object must be plain and you need to call `Vue.set()` when **adding new** properties to it. **See also: [Vue#data](https://v2.vuejs.org/v2/api/#data)**.
 :::
 
 ## Accessing the `state`