@@ -17,22 +17,22 @@ import { fetchHead } from "@/services/api/main"
1717import { fetchLatestBlocks } from " @/services/api/block"
1818
1919/** Store */
20- import { useNodeStore } from " @/store/node"
21- import { useAppStore } from " @/store/app"
22- import { useBookmarksStore } from " @/store/bookmarks"
23- import { useSettingsStore } from " @/store/settings"
24- import { useEnumStore } from " @/store/enums"
25- import { useLegalStore } from " @/store/legal"
26- import { useNotificationsStore } from " @/store/notifications"
27- import { useRollupsRankingStore } from " @/store/rollupsrank "
20+ import { useNodeStore } from " @/store/node.store "
21+ import { useAppStore } from " @/store/app.store "
22+ import { useBookmarksStore } from " @/store/bookmarks.store "
23+ import { useSettingsStore } from " @/store/settings.store "
24+ import { useEnumStore } from " @/store/enums.store "
25+ import { useLegalStore } from " @/store/legal.store "
26+ import { useNotificationsStore } from " @/store/notifications.store "
27+ import { useActivityStore } from " @/store/activity.store "
2828const nodeStore = useNodeStore ()
2929const appStore = useAppStore ()
3030const bookmarksStore = useBookmarksStore ()
3131const settingsStore = useSettingsStore ()
3232const enumStore = useEnumStore ()
3333const legalStore = useLegalStore ()
3434const notificationsStore = useNotificationsStore ()
35- const rollupsRankingStore = useRollupsRankingStore ()
35+ const activityStore = useActivityStore ()
3636
3737bookmarksStore .$subscribe ((mutation , state ) => {
3838 localStorage .setItem (" bookmarks" , JSON .stringify (state .bookmarks ))
@@ -43,10 +43,12 @@ settingsStore.$subscribe((mutation, state) => {
4343legalStore .$subscribe ((mutation , state ) => {
4444 localStorage .setItem (" legal" , JSON .stringify (state .legal ))
4545})
46- rollupsRankingStore .$subscribe ((mutation , state ) => {
46+ activityStore .$subscribe ((mutation , state ) => {
4747 localStorage .setItem (" rollups_ranking" , JSON .stringify (state .rollups_ranking ))
4848})
4949
50+ appStore .initConstants ()
51+
5052let watchInterval = null
5153
5254onMounted (async () => {
@@ -96,7 +98,7 @@ onMounted(async () => {
9698 }
9799
98100 settingsStore .init ()
99- rollupsRankingStore .init ()
101+ activityStore .init ()
100102
101103 const runtimeConfig = useRuntimeConfig ()
102104 amp .init (runtimeConfig .public .AMP )
0 commit comments