Skip to content

Commit

Permalink
chore: fix vue-ssr test warning (#10399)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Oct 10, 2022
1 parent 8eb0b0a commit 3a87593
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions playground/ssr-vue/src/pages/Store.vue
@@ -1,5 +1,5 @@
<template>
<h1>{{ foo }}</h1>
<h1>{{ fooStore.foo }}</h1>
</template>

<script>
Expand All @@ -12,7 +12,8 @@ export default {
foo: 'bar'
})
})
return useFooStore()
const fooStore = useFooStore()
return { fooStore }
}
}
</script>
Expand Down

0 comments on commit 3a87593

Please sign in to comment.