Skip to content

Commit

Permalink
docs: fix demo #2570 (#2593)
Browse files Browse the repository at this point in the history
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Closes #2570
  • Loading branch information
Ducz01 committed Dec 29, 2022
1 parent 9a57746 commit 4bbcf4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared/createGlobalState/index.md
Expand Up @@ -34,7 +34,7 @@ import { createGlobalState } from '@vueuse/core'
export const useGlobalState = createGlobalState(
() => {
// state
const count = ref(initialValue)
const count = ref(0)

// getters
const doubleCount = computed(() => count.value * 2)
Expand Down

0 comments on commit 4bbcf4b

Please sign in to comment.