From: Leonid Date: Fri, 27 May 2022 05:05:38 +0000 (+0300) Subject: docs: fix getter name in vuex example (#1321) X-Git-Tag: @pinia/nuxt@0.2.0~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b91910a1c6b9aefb237e88c3fa15730d4de02874;p=thirdparty%2Fvuejs%2Fpinia.git docs: fix getter name in vuex example (#1321) Corrected the getter name for full name in example of usage vuex inside the componets --- diff --git a/packages/docs/cookbook/migration-vuex.md b/packages/docs/cookbook/migration-vuex.md index 9aad5bb7..d55d4909 100644 --- a/packages/docs/cookbook/migration-vuex.md +++ b/packages/docs/cookbook/migration-vuex.md @@ -208,7 +208,7 @@ export default defineComponent({ const store = useStore() const firstName = computed(() => store.state.auth.user.firstName) - const fullName = computed(() => store.getters['auth/user/firstName']) + const fullName = computed(() => store.getters['auth/user/fullName']) return { firstName,