From 8fcc85dfeb70b5d372cfd86bc93e2b5aba1a6ba0 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Thu, 7 Jan 2021 13:41:08 -0700 Subject: [PATCH] Add answers object to reset commit. --- web/src/store/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/src/store/index.js b/web/src/store/index.js index b6a80c3..455e571 100644 --- a/web/src/store/index.js +++ b/web/src/store/index.js @@ -76,6 +76,10 @@ export default new Vuex.Store({ state.questions = []; state.game_code = null; state.players = []; + state.answers = { + team_1: new Array(8).fill(``), + team_2: new Array(8).fill(``), + }; }, player(state, data) { if (data.name)