export const state = () => ({ quote: "", sources: [], }) export const mutations = { setRound(state, game) { if (game && game.round) { state.quote = game.round.quote state.sources = game.round.sources } else { state.quote = "" state.sources = [] } }, }