]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: fix property name in the example (#2511)
authorAbbas Siddiqi <abbas.siddiqi1@gmail.com>
Sat, 2 Dec 2023 08:26:48 +0000 (13:26 +0500)
committerGitHub <noreply@github.com>
Sat, 2 Dec 2023 08:26:48 +0000 (09:26 +0100)
packages/docs/core-concepts/index.md

index b74d93e5ff00b8f8e2cfa37c2625034465d64427..c8cc37c85c40d4395f800fc29a9d5588e7763d37 100644 (file)
@@ -92,7 +92,7 @@ export const useSearchFilters = defineStore('search-filters', () => {
 ```
 
 :::warning
-Do not return properties like `useRoute()` or `appProvided` (from the example above) as they do not belong to the store itself and you can directly access them within components with `useRoute()` and `inject('appProvided')`.
+Do not return properties like `route` or `appProvided` (from the example above) as they do not belong to the store itself and you can directly access them within components with `useRoute()` and `inject('appProvided')`.
 :::
 
 ## What syntax should I pick?