fix: swap input size difference (#5351)

removed redudant check that broke input box height
This commit is contained in:
cartcrom 2022-11-20 20:04:42 -05:00 committed by GitHub
parent 0fa1c5e6ea
commit c68624e048
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -302,7 +302,7 @@ export default function SwapCurrencyInputPanel({
</Aligner>
</CurrencySelect>
</InputRow>
{!hideInput && !hideBalance && currency && (
{Boolean(!hideInput && !hideBalance) && (
<FiatRow>
<RowBetween>
<LoadingOpacityContainer $loading={loading}>