Commit 259d347c authored by Adam Procter's avatar Adam Procter 💩

wip

parent 9535e799
......@@ -9,7 +9,7 @@
<button v-on:click="undo">Undo</button>
<button v-on:click="redo">Redo</button>
<button v-on:click="reset">Clear Store</button>
<button v-on:click="reset">Clear State</button>
</div>
</template>
......
......@@ -4,9 +4,8 @@ import Vuex from 'vuex'
Vue.use(Vuex)
export default new Vuex.Store({
// dont need done and undone in state really
state: { flavour: null },
// READ ONLY LIVE Coding - testing 123
mutations: {
CHANGE_STATE(state, flavour) {
state.flavour = flavour
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment