Skip to content

Commit

Permalink
fix(asset-list): show withdraw btn regardless of balance
Browse files Browse the repository at this point in the history
  • Loading branch information
marslavish committed Apr 22, 2024
1 parent c61fed6 commit e7ed6c9
Show file tree
Hide file tree
Showing 2 changed files with 11,020 additions and 6,082 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const AssetsOverview = ({
tokenAmountPrice: formatDollarValue(asset.dollarValue, asset.amount),
chainName: asset.prettyChainName,
showDeposit: !isNativeAsset(asset),
showWithdraw: !isNativeAsset(asset) && new BigNumber(asset.amount).gt(0),
showWithdraw: !isNativeAsset(asset),
onDeposit: () => {
const sourceChainName = getChainName(asset.denom);
const sourceChainNativeDenom = getNativeDenom(sourceChainName);
Expand Down
Loading

0 comments on commit e7ed6c9

Please sign in to comment.