From 26cb7134045c2397914593493e165afd8cc720e8 Mon Sep 17 00:00:00 2001 From: Christina Reichel <123160582+chriscpty@users.noreply.github.com> Date: Mon, 15 Jul 2024 19:15:16 +0200 Subject: [PATCH] fix case sensitive links (#2718) The "Shared-Getters" and "Shared-Actions" links need to be capitalised to work - this is due to the markdown processor pinia uses giving them capitalised IDs. --- packages/docs/cookbook/composing-stores.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docs/cookbook/composing-stores.md b/packages/docs/cookbook/composing-stores.md index 1c4cae0b..b37287d9 100644 --- a/packages/docs/cookbook/composing-stores.md +++ b/packages/docs/cookbook/composing-stores.md @@ -42,7 +42,7 @@ const useY = defineStore('y', () => { ## Nested Stores -Note that if one store uses another store, you can directly import and call the `useStore()` function within _actions_ and _getters_. Then you can interact with the store just like you would from within a Vue component. See [Shared Getters](#shared-getters) and [Shared Actions](#shared-actions). +Note that if one store uses another store, you can directly import and call the `useStore()` function within _actions_ and _getters_. Then you can interact with the store just like you would from within a Vue component. See [Shared Getters](#Shared-Getters) and [Shared Actions](#Shared-Actions). When it comes to _setup stores_, you can simply use one of the stores **at the top** of the store function: -- 2.47.3