You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import { wallets as vectisWallets } from "@cosmos-kit/vectis";
import { wallets as wcv2Wallets } from "@cosmos-kit/walletconnect-v2";
import { wallets as cosmostationWallets } from "@cosmos-kit/cosmostation";
import { wallets as keplrWallets } from "@cosmos-kit/keplr";
import { wallets as leapWallets } from "@cosmos-kit/leap";
<ChainProvider
chains={chains}
assetLists={assets}
signerOptions={signerOptions}
walletModal={getModal("simple_v2")}
// error here
wallets={[
...wcv2Wallets,
...keplrWallets,
...cosmostationWallets,
...leapWallets,
...vectisWallets,
]}
>
The error I am getting is:
(property) wallets: MainWalletBase[]
Type '(WCWalletV2 | KeplrExtensionWallet | KeplrMobileWallet | CosmostationExtensionWallet | CosmostationMobileWallet | LeapExtensionWallet | VectisExtensionWallet)[]' is not assignable to type 'MainWalletBase[]'.
Type 'WCWalletV2 | KeplrExtensionWallet | KeplrMobileWallet | CosmostationExtensionWallet | CosmostationMobileWallet | LeapExtensionWallet | VectisExtensionWallet' is not assignable to type 'MainWalletBase'.
Type 'WCWalletV2' is not assignable to type 'MainWalletBase'.
Property '_chainWallets' is protected but type 'MainWalletBase' is not a class derived from 'MainWalletBase'.ts(2322)
I think it is something I am doing wrong, just can't find what it might be!
The text was updated successfully, but these errors were encountered:
I am using:
The error I am getting is:
I think it is something I am doing wrong, just can't find what it might be!
The text was updated successfully, but these errors were encountered: