diff --git a/frontend/src/store.js b/frontend/src/store.js index 41848dc..f13691c 100644 --- a/frontend/src/store.js +++ b/frontend/src/store.js @@ -22,6 +22,14 @@ export default new Vuex.Store({ }, setType(state, newType) { state.type = newType; + }, + resetStore(state) { + state = { + site: null, + tutors: [], + description: null, + type: null + }; } }, actions: {}