diff --git a/src/store/index.js b/src/store/index.js index 586f2b07..e2fcd651 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -1,9 +1,11 @@ import Vue from 'vue' import Vuex from 'vuex' import app from './modules/app' +import emojiPacks from './modules/emojiPacks' import errorLog from './modules/errorLog' -import moderationLog from './modules/moderationLog' +import getters from './getters' import invites from './modules/invites' +import moderationLog from './modules/moderationLog' import peers from './modules/peers' import permission from './modules/permission' import relays from './modules/relays' @@ -14,8 +16,6 @@ import tagsView from './modules/tagsView' import user from './modules/user' import userProfile from './modules/userProfile' import users from './modules/users' -import getters from './getters' -import emojiPacks from './modules/emojiPacks.js' Vue.use(Vuex) @@ -23,6 +23,7 @@ const store = new Vuex.Store({ modules: { app, errorLog, + emojiPacks, moderationLog, invites, peers, @@ -34,8 +35,7 @@ const store = new Vuex.Store({ tagsView, user, userProfile, - users, - emojiPacks + users }, getters }) diff --git a/src/store/modules/emojiPacks.js b/src/store/modules/emojiPacks.js index c809dbf1..84a07105 100644 --- a/src/store/modules/emojiPacks.js +++ b/src/store/modules/emojiPacks.js @@ -17,7 +17,7 @@ import { Message } from 'element-ui' import Vue from 'vue' -const packs = { +const emojiPacks = { state: { activeCollapseItems: [], localPacks: {}, @@ -186,4 +186,4 @@ const packs = { } } -export default packs +export default emojiPacks