Skip to content

Commit c129fdb

Browse files
committed
Adding functionality to hopefully stop deletion when typing notes.
1 parent c861eab commit c129fdb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/store/mutations.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const mutations = {
2222
[types.EMPTY_STATE]: (state, payload) => {
2323
payload.store.replaceState(cloneDeep(payload.initialState));
2424
},
25+
2526
[types.REMOVE_ALL_STATE_PROPS_ACTIONS]: (state) =>{
2627
const emptyObj = {
2728
userProps: [],
@@ -30,6 +31,7 @@ const mutations = {
3031
}
3132
Object.assign(state, emptyObj)
3233
},
34+
3335
[types.TOGGLE_TUTORIAL]: (state) => {
3436
state.showTutorial = !state.showTutorial;
3537
},

0 commit comments

Comments
 (0)