Skip to content

Commit 83107de

Browse files
committed
upd initCOnfig
1 parent c4413b6 commit 83107de

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

components/modals/LightNodeModal.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ const props = defineProps({
3838
3939
let bc
4040
onMounted(async () => {
41-
initConfig()
42-
4341
nodeStore.status = StatusMap.Initialized
4442
4543
nodeStore.settings.network = networks[selectedNetwork.value]
@@ -425,6 +423,8 @@ watch(
425423
() => {
426424
if (props.show) {
427425
amp.log("sampling:open", { network: networks[selectedNetwork.value], mobile: isMobile() })
426+
427+
initConfig()
428428
}
429429
},
430430
)

nuxt.config.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,5 @@ export default defineNuxtConfig({
146146
format: "es",
147147
plugins: [wasm(), topLevelAwait()],
148148
},
149-
150-
build: {
151-
minify: false,
152-
},
153149
},
154150
})

0 commit comments

Comments
 (0)