Skip to content

Commit

Permalink
revert: "fix: remove For in Swap component" (#237)
Browse files Browse the repository at this point in the history
Revert "fix: remove For in Swap component (#235)"

This reverts commit 5050dad.
  • Loading branch information
zzmp authored Oct 6, 2022
1 parent beefe9c commit 1d0f831
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/Swap/Output.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Trans } from '@lingui/macro'
import { useLingui } from '@lingui/react'
import BrandedFooter from 'components/BrandedFooter'
import Rule from 'components/Rule'
Expand All @@ -23,7 +24,8 @@ export const colorAtom = atom<string | undefined>(undefined)
const OutputColumn = styled(Column)<{ hasColor: boolean | null }>`
background-color: ${({ theme }) => theme.module};
border-radius: ${({ theme }) => theme.borderRadius - 0.25}em;
padding: 2em 0.75em 0.5em;
padding: 0.75em;
padding-bottom: 0.5em;
position: relative;
// Set transitions to reduce color flashes when switching color/token.
Expand Down Expand Up @@ -72,6 +74,11 @@ export default function Output({ disabled, focused, children }: PropsWithChildre
return (
<DynamicThemeProvider color={color}>
<OutputColumn hasColor={hasColor} gap={0.5}>
<Row>
<ThemedText.Subhead1 color="secondary">
<Trans>For</Trans>
</ThemedText.Subhead1>
</Row>
<TokenInput
amount={amount}
currency={swapOutputCurrency}
Expand Down

1 comment on commit 1d0f831

@vercel
Copy link

@vercel vercel bot commented on 1d0f831 Oct 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

widgets – ./

widgets-seven-tau.vercel.app
widgets-git-main-uniswap.vercel.app
widgets-uniswap.vercel.app

Please sign in to comment.