fix: display impact before severity (#5678)
This commit is contained in:
parent
0176c74430
commit
fd12a0d6e7
@ -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>
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user