Skip to content

Commit

Permalink
update text trade CTA
Browse files Browse the repository at this point in the history
  • Loading branch information
pingustar committed Nov 22, 2023
1 parent 16dfc11 commit fe15eb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elements/trade/TradeWidgetCTA.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const TradeWidgetCTA = ({
const isInputZero =
fromInput.inputTkn === '' || new BigNumber(fromInput.inputTkn).eq(0);
if (isInputZero) return 'Enter Amount';
if (!toInput?.inputTkn) return 'Insufficient liquidity';
if (!toInput?.inputTkn) return 'Pair not supported';
if (!account) return 'Connect your wallet';
const isHighSlippage = new BigNumber(priceImpact).gte(5);
if (isHighSlippage) return 'Trade with high price impact';
Expand Down

0 comments on commit fe15eb0

Please sign in to comment.