From 3e2f86eff03ca5a8870caf28f972a872d2acfc62 Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Wed, 1 Feb 2017 15:50:49 +0100 Subject: [PATCH] change export default mutations --- src/store/mutations.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/mutations.js b/src/store/mutations.js index 13e96d4..3ee537c 100644 --- a/src/store/mutations.js +++ b/src/store/mutations.js @@ -5,7 +5,7 @@ function setState(state, id, object) { set(state, id, Object.assign({}, object)); } -export const mutations = { +export default { [types.LOGIN](state){ state.authenticated = true; }, @@ -18,4 +18,4 @@ export const mutations = { [types.SET_DEFAULT_OPTIONS](state, {options}){ setState(state, 'defaultOptions', options); } -}; \ No newline at end of file +};