summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/error_tracking/store/index.js
blob: b9c2b2ecc0907fd715e4873432a9e5b9fd0ce323 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import Vue from 'vue';
import Vuex from 'vuex';
import * as actions from './actions';
import mutations from './mutations';

Vue.use(Vuex);

export const createStore = () => new Vuex.Store({
  state: {
    errors: [],
    loadingErrors: true,
  },
  actions,
  mutations,
});

export default createStore();