State not changing when using a composables - Nuxt