diff --git a/src/renderer/store/modules/invidious.js b/src/renderer/store/modules/invidious.js index e69f968e1..3ca523920 100644 --- a/src/renderer/store/modules/invidious.js +++ b/src/renderer/store/modules/invidious.js @@ -1,12 +1,11 @@ import $ from 'jquery' const state = { - main: 0, isGetChannelInfoRunning: false } const getters = { - getIsGetChannelInfoRunning ({ state }) { + getIsGetChannelInfoRunning (state) { return state.isGetChannelInfoRunning } } diff --git a/src/renderer/store/modules/ytdl.js b/src/renderer/store/modules/ytdl.js index b4227d1b3..f3addc751 100644 --- a/src/renderer/store/modules/ytdl.js +++ b/src/renderer/store/modules/ytdl.js @@ -8,15 +8,10 @@ import { HttpsProxyAgent } from 'https-proxy-agent' import { HttpProxyAgent } from 'http-proxy-agent' const state = { - main: 0, isYtSearchRunning: false } -const getters = { - getMain ({ state }) { - return state.main - } -} +const getters = {} const actions = { ytSearch ({ commit, dispatch, rootState }, payload) {