Skip to content

Commit

Permalink
Show USDC.e notice box only when USDC.e balance is $0.10 or more
Browse files Browse the repository at this point in the history
When swapping to native USDC, a small remainder will likely stay around, as the fee is over-estimated and not all of it will be used. To not annoy users with showing the box for minimal amounts that cannot be swapped efficiently anyway, we hide the box and USDC.e balance for balances below $0.10.
  • Loading branch information
sisou committed Mar 8, 2024
1 parent c84e967 commit c5f583f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/layouts/AddressOverview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
</div>
</div>
<div
v-if="activeCurrency === 'usdc' && usdcAddressInfo && usdcAddressInfo.balance"
v-if="activeCurrency === 'usdc' && usdcAddressInfo && usdcAddressInfo.balance >= 0.1e6"
class="bridged-usdc-notice"
>
<div class="flex-row">
Expand Down

0 comments on commit c5f583f

Please sign in to comment.