Skip to content

Commit

Permalink
fix gas condition in banner
Browse files Browse the repository at this point in the history
  • Loading branch information
jhesgodi committed Mar 11, 2024
1 parent 750fc6a commit c1e93b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export function InsufficientCoinsBanner() {

let label = t('views.PAYMENT_METHODS.insufficientCoinsBanner.caption');

if (!hasEnough[ItemType.NATIVE] && hasEnough[ItemType.NATIVE]) {
if (!hasEnough[ItemType.NATIVE] && hasEnough[ItemType.ERC20]) {
label = t('views.PAYMENT_METHODS.insufficientCoinsBanner.gasCaption');
}

Expand Down

0 comments on commit c1e93b1

Please sign in to comment.