Commit bb17c57a authored by Noah Zinsmeister's avatar Noah Zinsmeister

nits

parent 3b6213f4
...@@ -240,7 +240,7 @@ export function PositionPage({ ...@@ -240,7 +240,7 @@ export function PositionPage({
</Badge> </Badge>
</RowFixed> </RowFixed>
<RowFixed> <RowFixed>
{(feeValue0?.greaterThan(0) && feeValue1?.greaterThan(0)) || !!collectMigrationHash ? ( {feeValue0?.greaterThan(0) || feeValue1?.greaterThan(0) || !!collectMigrationHash ? (
<ButtonConfirmed <ButtonConfirmed
disabled={collecting || !!collectMigrationHash} disabled={collecting || !!collectMigrationHash}
confirmed={!!collectMigrationHash && !isCollectPending} confirmed={!!collectMigrationHash && !isCollectPending}
......
...@@ -244,7 +244,7 @@ function Remove({ tokenId }: { tokenId: BigNumber }) { ...@@ -244,7 +244,7 @@ function Remove({ tokenId }: { tokenId: BigNumber }) {
<AutoColumn gap="lg"> <AutoColumn gap="lg">
<RowBetween> <RowBetween>
<RowFixed> <RowFixed>
<DoubleCurrencyLogo currency0={currency0} currency1={currency1} size={20} margin={true} /> <DoubleCurrencyLogo currency0={currency1} currency1={currency0} size={20} margin={true} />
<TYPE.label ml="10px" fontSize="20px">{`${currency0?.symbol}/${currency1?.symbol}`}</TYPE.label> <TYPE.label ml="10px" fontSize="20px">{`${currency0?.symbol}/${currency1?.symbol}`}</TYPE.label>
</RowFixed> </RowFixed>
<RangeBadge inRange={!outOfRange}>{outOfRange ? 'Out of range' : 'In Range'}</RangeBadge> <RangeBadge inRange={!outOfRange}>{outOfRange ? 'Out of range' : 'In Range'}</RangeBadge>
...@@ -282,7 +282,7 @@ function Remove({ tokenId }: { tokenId: BigNumber }) { ...@@ -282,7 +282,7 @@ function Remove({ tokenId }: { tokenId: BigNumber }) {
<Text fontSize={16} fontWeight={500} marginLeft={'6px'}> <Text fontSize={16} fontWeight={500} marginLeft={'6px'}>
{liquidityValue0 && <FormattedCurrencyAmount currencyAmount={liquidityValue0} />} {liquidityValue0 && <FormattedCurrencyAmount currencyAmount={liquidityValue0} />}
</Text> </Text>
<CurrencyLogo size="20px" style={{ marginLeft: '8px' }} currency={liquidityValue0?.token} /> <CurrencyLogo size="20px" style={{ marginLeft: '8px' }} currency={currency0} />
</RowFixed> </RowFixed>
</RowBetween> </RowBetween>
<RowBetween> <RowBetween>
...@@ -293,7 +293,7 @@ function Remove({ tokenId }: { tokenId: BigNumber }) { ...@@ -293,7 +293,7 @@ function Remove({ tokenId }: { tokenId: BigNumber }) {
<Text fontSize={16} fontWeight={500} marginLeft={'6px'}> <Text fontSize={16} fontWeight={500} marginLeft={'6px'}>
{liquidityValue1 && <FormattedCurrencyAmount currencyAmount={liquidityValue1} />} {liquidityValue1 && <FormattedCurrencyAmount currencyAmount={liquidityValue1} />}
</Text> </Text>
<CurrencyLogo size="20px" style={{ marginLeft: '8px' }} currency={liquidityValue1?.token} /> <CurrencyLogo size="20px" style={{ marginLeft: '8px' }} currency={currency1} />
</RowFixed> </RowFixed>
</RowBetween> </RowBetween>
{feeValue0?.greaterThan(0) || feeValue1?.greaterThan(0) ? ( {feeValue0?.greaterThan(0) || feeValue1?.greaterThan(0) ? (
...@@ -307,7 +307,7 @@ function Remove({ tokenId }: { tokenId: BigNumber }) { ...@@ -307,7 +307,7 @@ function Remove({ tokenId }: { tokenId: BigNumber }) {
<Text fontSize={16} fontWeight={500} marginLeft={'6px'}> <Text fontSize={16} fontWeight={500} marginLeft={'6px'}>
{feeValue0 && <FormattedCurrencyAmount currencyAmount={feeValue0} />} {feeValue0 && <FormattedCurrencyAmount currencyAmount={feeValue0} />}
</Text> </Text>
<CurrencyLogo size="20px" style={{ marginLeft: '8px' }} currency={feeValue0?.token} /> <CurrencyLogo size="20px" style={{ marginLeft: '8px' }} currency={currency0} />
</RowFixed> </RowFixed>
</RowBetween> </RowBetween>
<RowBetween> <RowBetween>
...@@ -318,7 +318,7 @@ function Remove({ tokenId }: { tokenId: BigNumber }) { ...@@ -318,7 +318,7 @@ function Remove({ tokenId }: { tokenId: BigNumber }) {
<Text fontSize={16} fontWeight={500} marginLeft={'6px'}> <Text fontSize={16} fontWeight={500} marginLeft={'6px'}>
{feeValue1 && <FormattedCurrencyAmount currencyAmount={feeValue1} />} {feeValue1 && <FormattedCurrencyAmount currencyAmount={feeValue1} />}
</Text> </Text>
<CurrencyLogo size="20px" style={{ marginLeft: '8px' }} currency={feeValue1?.token} /> <CurrencyLogo size="20px" style={{ marginLeft: '8px' }} currency={currency1} />
</RowFixed> </RowFixed>
</RowBetween> </RowBetween>
</> </>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment