Skip to content

Commit

Permalink
Merge pull request #1027 from oraidex/fix/hide-old-warning-slippage
Browse files Browse the repository at this point in the history
hide old warning
  • Loading branch information
haunv3 authored Nov 8, 2024
2 parents 927a561 + e4e69fb commit c89cdbc
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/pages/UniversalSwap/Swap/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -693,15 +693,6 @@ const SwapComponent: React.FC<{
coe={coe}
usdPrice={usdPriceShowFrom}
/>
{/* !fromToken && !toTokenFee mean that this is internal swap operation */}
{!fromTokenFee && !toTokenFee && isWarningSlippage && (
<div className={cx('impact-warning')}>
<WarningIcon />
<div className={cx('title')}>
<span>&nbsp;Current slippage exceed configuration!</span>
</div>
</div>
)}
</div>
</div>
<div className={cx('swap-center')}>
Expand Down

0 comments on commit c89cdbc

Please sign in to comment.