Skip to content

Commit

Permalink
chore: Naming
Browse files Browse the repository at this point in the history
  • Loading branch information
garethfuller committed Dec 21, 2023
1 parent e41a609 commit eded35e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/modules/pool/actions/add-liquidity/AddLiquidityForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function AddLiquidityForm() {
return amountIn ? amountIn.humanAmount : ''
}

const bptLabel = safeTokenFormat(bptOut?.amount, BPT_DECIMALS)
const bptOutLabel = safeTokenFormat(bptOut?.amount, BPT_DECIMALS)
const formattedPriceImpact = priceImpact ? fNum('priceImpact', priceImpact) : '-'

return (
Expand Down Expand Up @@ -105,7 +105,7 @@ export function AddLiquidityForm() {
<Text color="GrayText">Bpt out</Text>
<HStack>
<NumberText color="GrayText">
{isPreviewQueryLoading ? <Skeleton w="12" h="full" /> : bptLabel}
{isPreviewQueryLoading ? <Skeleton w="12" h="full" /> : bptOutLabel}
</NumberText>
<Tooltip label="Bpt out" fontSize="sm">
<InfoOutlineIcon color="GrayText" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { TokenAllowancesProvider } from '@/lib/modules/web3/useTokenAllowances'
import { useUserAccount } from '@/lib/modules/web3/useUserAccount'
import { NumberText } from '@/lib/shared/components/typography/NumberText'
import { useCurrency } from '@/lib/shared/hooks/useCurrency'
import { fNum, safeTokenFormat } from '@/lib/shared/utils/numbers'
import { fNum } from '@/lib/shared/utils/numbers'
import { HumanAmount } from '@balancer/sdk'
import { InfoOutlineIcon } from '@chakra-ui/icons'
import {
Expand Down

0 comments on commit eded35e

Please sign in to comment.