Skip to content
Snippets Groups Projects
Commit e091ce66 authored by Dennis Tang's avatar Dennis Tang :art:
Browse files

match state function convention in badges

parent 7cc690ee
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -3,7 +3,7 @@ import Vuex from 'vuex';
import * as actions from './actions';
import * as getters from './getters';
import mutations from './mutations';
import { state } from './state';
import createState from './state';
 
Vue.use(Vuex);
 
Loading
Loading
@@ -12,7 +12,7 @@ export const createStore = () =>
actions,
getters,
mutations,
state: state(),
state: createState(),
});
 
export default createStore();
export const state = () => ({
export default () => ({
selectedProject: {
projectId: '',
name: '',
Loading
Loading
@@ -10,5 +10,3 @@ export const state = () => ({
zones: [],
machineTypes: [],
});
export default state();
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment