File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/thirdweb/src/react/core/utils Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import { resolveName } from "../../../extensions/ens/resolve-name.js";
77import { shortenAddress } from "../../../utils/address.js" ;
88import { parseAvatarRecord } from "../../../utils/ens/avatar.js" ;
99import { getWalletInfo } from "../../../wallets/__generated__/getWalletInfo.js" ;
10+ import { isEcosystemWallet } from "../../../wallets/ecosystem/is-ecosystem-wallet.js" ;
1011import type { Account , Wallet } from "../../../wallets/interfaces/wallet.js" ;
1112import type { WalletInfo } from "../../../wallets/wallet-info.js" ;
1213import type { WalletId } from "../../../wallets/wallet-types.js" ;
@@ -223,7 +224,7 @@ export function hasSponsoredTransactionsEnabled(wallet: Wallet | undefined) {
223224 sponsoredTransactionsEnabled = options . gasless ;
224225 }
225226 }
226- if ( wallet && wallet . id === "inApp" ) {
227+ if ( wallet && ( wallet . id === "inApp" || isEcosystemWallet ( wallet ) ) ) {
227228 const options = ( wallet as Wallet < "inApp" > ) . getConfig ( ) ;
228229 if ( options && "smartAccount" in options && options . smartAccount ) {
229230 const smartOptions = options . smartAccount ;
You can’t perform that action at this time.
0 commit comments