fix: dashboard.loadingPrices() cause endless loop

This commit is contained in:
Alisa | Side.one 2023-05-11 01:48:27 +08:00
parent 39f5cf5337
commit 8e1e243111

View File

@ -12,7 +12,8 @@ const dashboard = useDashboard();
dashboard.$subscribe((mutation, state) => { dashboard.$subscribe((mutation, state) => {
localStorage.setItem('favorite', JSON.stringify(state.favorite)); localStorage.setItem('favorite', JSON.stringify(state.favorite));
dashboard.loadingPrices() // TODO: cause endless loop
// dashboard.loadingPrices()
}); });
const keywords = ref(''); const keywords = ref('');
const chains = computed(() => { const chains = computed(() => {