Skip to content

Commit

Permalink
conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenhoaidanh committed Dec 18, 2023
1 parent 3c04205 commit 4cb9f39
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/utils/prices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ export const checkPriceImpact = (
return {
// priceImpact < 0 is still VALID. That's when you swap $10, but receive back $12
isInvalid: typeof priceImpact === 'number' && !Number.isFinite(priceImpact),
isHighV2: !!priceImpact && priceImpact > 1, // todo
isHigh: !!priceImpact && priceImpact > 2,
isVeryHigh: !!priceImpact && priceImpact > 10,
}
Expand Down

0 comments on commit 4cb9f39

Please sign in to comment.