diff --git a/app.vue b/app.vue index f876cbf..e68920e 100644 --- a/app.vue +++ b/app.vue @@ -52,8 +52,10 @@ onMounted(async () => { console.warn('Autonomi client init failed:', e) }) - // Only bypass WalletConnect for local Anvil devnet, not Sepolia - if (!settingsStore.devnetIsSepolia) { + // Only bypass WalletConnect for local Anvil devnet. Sepolia / mainnet + // manifests expect the user to connect their own wallet via WalletConnect. + const { ANVIL_CHAIN_ID } = await import('~/utils/constants') + if (settingsStore.devnetChainId === ANVIL_CHAIN_ID) { const { initDevnetWallet } = await import('~/composables/useDevnetWallet') initDevnetWallet() } diff --git a/components/AppSidebar.vue b/components/AppSidebar.vue index 3748127..816a634 100644 --- a/components/AppSidebar.vue +++ b/components/AppSidebar.vue @@ -10,7 +10,7 @@