From 78425e33a2b7684dedb4936040d52354af62152e Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Sat, 10 Jun 2023 20:56:01 +0800 Subject: [PATCH] remove unused code --- src/pages/index.vue | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/pages/index.vue b/src/pages/index.vue index e368a1ad..ce00db7b 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -11,9 +11,6 @@ import { useBlockchain } from '@/stores'; const dashboard = useDashboard(); -dashboard.$subscribe((mutation, state) => { - localStorage.setItem('favorite', JSON.stringify(state.favorite)); -}); const keywords = ref(''); const chains = computed(() => { if (keywords.value) {