diff --git a/packages/widget/src/controllers/transfers/fungible-token-transfer.ts b/packages/widget/src/controllers/transfers/fungible-token-transfer.ts index 51cb03e4..a2d3b863 100644 --- a/packages/widget/src/controllers/transfers/fungible-token-transfer.ts +++ b/packages/widget/src/controllers/transfers/fungible-token-transfer.ts @@ -521,11 +521,10 @@ export class FungibleTokenTransferController implements ReactiveController { return true; } case Network.SUBSTRATE: { - const substrateProvider = this.sourceSubstrateProvider; - const substrateAddress = - this.walletContext.value?.substrateWallet?.signerAddress; - if (!substrateProvider || !substrateAddress) return false; - return true; + return !!( + this.sourceSubstrateProvider && + this.walletContext.value?.substrateWallet?.signerAddress + ); } } }