Upgrade dependencies

This commit is contained in:
2021-10-19 15:05:17 +02:00
parent 3874b2be94
commit d05810b7c2
4 changed files with 1082 additions and 979 deletions

View File

@@ -3,7 +3,6 @@ import {GetterTree, MutationTree} from "vuex";
export const state = () => ({
opened: false,
route: '/',
email: ''
})
export type RootState = ReturnType<typeof state>
@@ -11,11 +10,9 @@ export type RootState = ReturnType<typeof state>
export const getters: GetterTree<RootState, RootState> = {
opened: state => state.opened,
route: state => state.route,
email: state => state.email
}
export const mutations: MutationTree<RootState> = {
TOGGLE_OPENED: (state, opened: boolean) => (state.opened = opened),
SET_ROUTE: (state, route: string) => (state.route = route),
SET_EMAIL: (state, email: string) => (state.email = email)
}