From 4cb9f39a3584c39dac89a8d06969c6194f60f76a Mon Sep 17 00:00:00 2001 From: Danh Date: Mon, 18 Dec 2023 09:57:28 +0700 Subject: [PATCH] conflict --- src/utils/prices.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/utils/prices.ts b/src/utils/prices.ts index 0296ed0b57..3df657f0cb 100644 --- a/src/utils/prices.ts +++ b/src/utils/prices.ts @@ -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, }