fix wallet

This commit is contained in:
liangping 2024-06-16 08:56:29 +08:00
parent 9d882785f4
commit 01958fb73b

View File

@ -95,7 +95,7 @@ const params = computed(() => {
</div>
</div>
<Teleport to="body">
<ping-connect-wallet :chain-id="baseStore.currentChainId" :hd-path="chainStore.defaultHDPath"
<ping-connect-wallet :chain-id="baseStore.currentChainId || 'cosmoshub-4'" :hd-path="chainStore.defaultHDPath"
:addr-prefix="chainStore.current?.bech32Prefix || 'cosmos'" @connect="walletStateChange"
@keplr-config="walletStore.suggestChain()" :params="params" />
</Teleport>