Commit 03902fe5 authored by Justin Domingue's avatar Justin Domingue Committed by GitHub

remove duplicate `set price range` title when there is liquidity (#2058)

parent 631052e6
...@@ -846,11 +846,13 @@ export default function AddLiquidity({ ...@@ -846,11 +846,13 @@ export default function AddLiquidity({
<StackedContainer> <StackedContainer>
<StackedItem style={{ opacity: showCapitalEfficiencyWarning ? '0.05' : 1 }}> <StackedItem style={{ opacity: showCapitalEfficiencyWarning ? '0.05' : 1 }}>
<AutoColumn gap="md"> <AutoColumn gap="md">
{noLiquidity && (
<RowBetween> <RowBetween>
<TYPE.label> <TYPE.label>
<Trans>Set Price Range</Trans> <Trans>Set Price Range</Trans>
</TYPE.label> </TYPE.label>
</RowBetween> </RowBetween>
)}
<RangeSelector <RangeSelector
priceLower={priceLower} priceLower={priceLower}
priceUpper={priceUpper} priceUpper={priceUpper}
......
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