We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ccc47b commit 731b6b6Copy full SHA for 731b6b6
1 file changed
app.vue
@@ -21,6 +21,10 @@ bookmarksStore.$subscribe((mutation, state) => {
21
})
22
23
onMounted(async () => {
24
+ if (localStorage.bookmarks) {
25
+ bookmarksStore.bookmarks = JSON.parse(localStorage.bookmarks)
26
+ }
27
+
28
const runtimeConfig = useRuntimeConfig()
29
amp.init(runtimeConfig.public.AMP)
30
@@ -29,10 +33,6 @@ onMounted(async () => {
33
34
Socket.init()
31
35
32
- if (localStorage.bookmarks) {
- bookmarksStore.bookmarks = JSON.parse(localStorage.bookmarks)
- }
-
36
const gasPrice = await fetchGasPrice()
37
appStore.gas = gasPrice
38
0 commit comments