0
0
Fork 0

Add state commits for hand modifications.

This commit is contained in:
Oliver-Akins 2021-01-03 16:00:00 -07:00
parent d639ed4a48
commit 62ba5364a1

View file

@ -107,6 +107,12 @@ export default new Vuex.Store({
setObject(state, chosenObject) {
state.chosen_object = chosenObject;
},
replaceHand(state, questions) {
state.questions = questions;
},
appendToHand(state, questions) {
state.questions.push(...questions);
},
},
actions: {
},