Skip to content

Commit

Permalink
chore(ui-ux): update warning message when balance is insufficient (#841)
Browse files Browse the repository at this point in the history
* feat: add reserved utxo on client form

* feat: support all token for liquidity check

* chore: add liquidity as dependency

* revert: all previous changes

Only update warning message when insufficient balance
  • Loading branch information
kyleleow authored Mar 28, 2023
1 parent 6957358 commit cbbf652
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/web/src/components/BridgeForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,8 @@ export default function BridgeForm({

{!isBalanceSufficient && !hasPendingTxn && (
<div className={clsx("pt-3", warningTextStyle)}>
Unable to process transaction. <div>Please try again later</div>
Unable to process due to liquidity cap, please try again in a few
hours
</div>
)}
</div>
Expand Down

0 comments on commit cbbf652

Please sign in to comment.