Skip to content

Commit

Permalink
remove unused data and backend route
Browse files Browse the repository at this point in the history
  • Loading branch information
thepiwo committed Apr 9, 2021
1 parent c8cb88a commit e8fae7d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
7 changes: 2 additions & 5 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,15 @@ export default {
},
methods: {
...mapMutations([
'setAddress', 'updateTopics',
'setOracleState', 'setChainNames', 'updateBalance',
'setAddress', 'updateTopics', 'setChainNames', 'updateBalance',
'setGraylistedUrls', 'setTokenInfo', 'setWordRegistry', 'setVerifiedUrls',
]),
...mapMutations('aeternity', ['useSdkWallet']),
async reloadData() {
const [
chainNames, oracleState, topics, verifiedUrls, graylistedUrls, tokenInfo, wordRegistry,
chainNames, topics, verifiedUrls, graylistedUrls, tokenInfo, wordRegistry,
] = await Promise.all([
Backend.getCacheChainNames(),
Backend.getOracleCache(),
Backend.getTopics(),
Backend.getVerifiedUrls(),
Backend.getGrayListedUrls(),
Expand All @@ -77,7 +75,6 @@ export default {
this.updateTopics(topics);
this.setChainNames(chainNames);
this.setOracleState(oracleState);
this.setGraylistedUrls(graylistedUrls);
this.setVerifiedUrls(verifiedUrls);
this.setTokenInfo(tokenInfo);
Expand Down
1 change: 0 additions & 1 deletion src/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export default new Vuex.Store({
selectedCurrency: 'eur',
topics: [],
tipSortBy: 'hot',
oracleState: {},
chainNames: [],
verifiedUrls: [],
graylistedUrls: [],
Expand Down
3 changes: 0 additions & 3 deletions src/store/mutations.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ export default {
setTipSortBy(state, payload) {
state.tipSortBy = payload;
},
setOracleState(state, payload) {
state.oracleState = payload;
},
setChainNames(state, payload) {
state.chainNames = payload;
},
Expand Down

0 comments on commit e8fae7d

Please sign in to comment.