Skip to content

Commit

Permalink
revert weth
Browse files Browse the repository at this point in the history
  • Loading branch information
namgold committed Oct 31, 2023
1 parent b0f3bf2 commit fcda82c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/pages/AddLiquidityV2/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ import { friendlyError } from 'utils/errorMessage'
import { maxAmountSpend } from 'utils/maxAmountSpend'
import { formatDisplayNumber, toString } from 'utils/numbers'
import { SLIPPAGE_STATUS, checkRangeSlippage } from 'utils/slippage'
import { unwrappedToken } from 'utils/wrappedCurrency'

import DisclaimerERC20 from './components/DisclaimerERC20'
import NewPoolNote from './components/NewPoolNote'
Expand Down Expand Up @@ -1250,8 +1251,14 @@ export default function AddLiquidity() {
<div style={{ marginTop: '1rem' }}>
<ProAmmPoolInfo position={position} />
<ProAmmPooledTokens
liquidityValue0={CurrencyAmount.fromRawAmount(position.pool.token0, position.amount0.quotient)}
liquidityValue1={CurrencyAmount.fromRawAmount(position.pool.token1, position.amount1.quotient)}
liquidityValue0={CurrencyAmount.fromRawAmount(
unwrappedToken(position.pool.token0),
position.amount0.quotient,
)}
liquidityValue1={CurrencyAmount.fromRawAmount(
unwrappedToken(position.pool.token1),
position.amount1.quotient,
)}
title={t`New Liquidity Amount`}
/>
<ProAmmPriceRangeConfirm position={position} ticksAtLimit={ticksAtLimit} />
Expand Down

0 comments on commit fcda82c

Please sign in to comment.