Skip to content

Commit

Permalink
fix: display impact before severity (#5678)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzmp authored Dec 13, 2022
1 parent 0176c74 commit fd12a0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/Swap/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -873,10 +873,10 @@ export default function Swap({ className }: { className?: string }) {
swapInputError
) : routeIsSyncing || routeIsLoading ? (
<Trans>Swap</Trans>
) : priceImpactSeverity > 2 ? (
<Trans>Swap Anyway</Trans>
) : priceImpactTooHigh ? (
<Trans>Price Impact Too High</Trans>
) : priceImpactSeverity > 2 ? (
<Trans>Swap Anyway</Trans>
) : (
<Trans>Swap</Trans>
)}
Expand Down

1 comment on commit fd12a0d

@vercel
Copy link

@vercel vercel bot commented on fd12a0d Dec 13, 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:

interface – ./

interface-uniswap.vercel.app
interface-git-main-uniswap.vercel.app

Please sign in to comment.