From: Rare Kang <7322570+serialine@users.noreply.github.com> Date: Mon, 26 Sep 2022 19:08:28 +0000 (+0900) Subject: docs(ssr): fix skipHydrate references undefined ref (#1689) X-Git-Tag: @pinia/nuxt@0.4.3~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d1fa2e96ba8375f28a94340772ff0f4d4acde71;p=thirdparty%2Fvuejs%2Fpinia.git docs(ssr): fix skipHydrate references undefined ref (#1689) --- diff --git a/packages/docs/cookbook/composables.md b/packages/docs/cookbook/composables.md index bca392df..864f790c 100644 --- a/packages/docs/cookbook/composables.md +++ b/packages/docs/cookbook/composables.md @@ -91,7 +91,7 @@ export const useColorStore = defineStore('colors', () => { const lastColor = useLocalStorage('lastColor', sRGBHex) // ... return { - lastColor: skipHydrate(pickedColor), // Ref + lastColor: skipHydrate(lastColor), // Ref open, // Function isSupported, // boolean (not even reactive) }