export const state = () => ({
  audio: true
})

export const mutations = {
  TOGGLE_AUDIO(state) {
    state.audio = !state.audio
  }
}

export const actions = {
  toggleAudio({ commit }) {
    commit('TOGGLE_AUDIO')
  }
}

export const getters = {
  audio: (state) => state.audio
}
