I want to get the value of my stored user from my store
but when I tried on onMounted function
onMounted(async () => {
console.log('user', store.state.user) //here i can see the values
const info = computed(() => {
return store.state.user
})
console.log('info', info)
it does not give the information, I am getting info.name
undefined
what happening here?