0
0
Fork 0

Add answers object to reset commit.

This commit is contained in:
Oliver-Akins 2021-01-07 13:41:08 -07:00
parent cecfddfdee
commit 8fcc85dfeb

View file

@ -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)