diff --git a/apps/browser-extension-wallet/src/views/browser-view/features/send-transaction/components/Form/Form.tsx b/apps/browser-extension-wallet/src/views/browser-view/features/send-transaction/components/Form/Form.tsx index a93c88f1c..3afd9e288 100644 --- a/apps/browser-extension-wallet/src/views/browser-view/features/send-transaction/components/Form/Form.tsx +++ b/apps/browser-extension-wallet/src/views/browser-view/features/send-transaction/components/Form/Form.tsx @@ -54,7 +54,7 @@ export const Form = ({ const { setNewOutput } = useOutputs(); - const isEmptyAssets = assetBalances?.size === 0; + const isEmptyAssets = !assetBalances?.size; const handleAddRow = () => { const nextBundleId = getNextBundleCoinId(spendableCoin?.toString(), assetBalances, tokensUsed, assets, cardanoCoin); @@ -100,9 +100,10 @@ export const Form = ({ const totalCost = getFee(fee.toString(), prices?.cardano?.price, cardanoCoin, fiatCurrency); const hasMissingCoins = totalMinimumCoins?.coinMissing && totalMinimumCoins?.coinMissing !== '0'; - const bundleDisabled = spendableCoin - ? !getNextBundleCoinId(spendableCoin?.toString(), assetBalances, tokensUsed, assets, cardanoCoin)?.length - : false; + + const bundleDisabled = + !spendableCoin || + !getNextBundleCoinId(spendableCoin?.toString(), assetBalances, tokensUsed, assets, cardanoCoin)?.length; return (