From 0801addc0ec6bdd31d531a873dd1f0eda6be7efb Mon Sep 17 00:00:00 2001 From: franm Date: Tue, 2 Sep 2025 16:04:39 -0300 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=92=AC=20home:=20update=20exa=20card?= =?UTF-8?q?=20banner?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ExaCard/index.tsx | 4 ++-- i18n/es/translation.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/ExaCard/index.tsx b/components/ExaCard/index.tsx index b433bacf6..9e4f1ec88 100644 --- a/components/ExaCard/index.tsx +++ b/components/ExaCard/index.tsx @@ -88,11 +88,11 @@ export default function EXACard() { - {t('The first onchain debit & credit card.')} + {t('The first onchain credit card.')} - {t('Join the waitlist')} + {t('Download the app.')} diff --git a/i18n/es/translation.json b/i18n/es/translation.json index 46e694ecb..b20e5adfd 100644 --- a/i18n/es/translation.json +++ b/i18n/es/translation.json @@ -630,8 +630,8 @@ "Total": "Total", " In {{installments}} installments": "En {{installments}} cuotas", "Repay Amount": "Monto a Pagar", - "Join the waitlist": "Únete a la lista de espera", - "The first onchain debit & credit card.": "La primer tarjeta de débito y crédito onchain.", + "Download the app.": "Descarga la app.", + "The first onchain credit card.": "La primer tarjeta de crédito onchain.", "Please set this asset as collateral in your dashboard": "Por favor, establece este activo como colateral en tu panel de control", "Total deposited: ": "Total depositado", "Total borrowed: ": "Total prestado", From 45beba8bab9d49654cccc63e6f24867c0f54608a Mon Sep 17 00:00:00 2001 From: franm Date: Tue, 2 Sep 2025 16:51:30 -0300 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=91=94=20app:=20disable=20leverage=20?= =?UTF-8?q?temporarily?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Leverager/Modal/index.tsx | 2 +- components/Leverager/MultiplierSlider/index.tsx | 6 +----- components/Leverager/Operation/index.tsx | 2 +- pages/strategies.tsx | 4 ++-- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/components/Leverager/Modal/index.tsx b/components/Leverager/Modal/index.tsx index 72f8f4fbc..dd3c41c80 100644 --- a/components/Leverager/Modal/index.tsx +++ b/components/Leverager/Modal/index.tsx @@ -113,7 +113,7 @@ function LeveragerModal({ isOpen, close }: Props) { ? input.secondaryOperation === 'deposit' ? t('Leverage') : t('Deleverage') - : t('Leverage & Deleverage')} + : t('Deleverage')} {t( diff --git a/components/Leverager/MultiplierSlider/index.tsx b/components/Leverager/MultiplierSlider/index.tsx index 55c7f2254..fc4b97f0d 100644 --- a/components/Leverager/MultiplierSlider/index.tsx +++ b/components/Leverager/MultiplierSlider/index.tsx @@ -10,7 +10,6 @@ const MultiplierSlider = () => { setLeverageRatio, currentLeverageRatio, minLeverageRatio, - maxLeverageRatio, newHealthFactor, getHealthFactorColor, netPosition, @@ -33,10 +32,7 @@ const MultiplierSlider = () => { [blockModal, input.borrowSymbol, input.collateralSymbol, netPosition], ); - const max = useMemo( - () => Math.floor(Math.max(currentLeverageRatio, maxLeverageRatio) * 1e10) / 1e10, - [currentLeverageRatio, maxLeverageRatio], - ); + const max = currentLeverageRatio; return ( diff --git a/components/Leverager/Operation/index.tsx b/components/Leverager/Operation/index.tsx index 63cdd3c5d..b955d89c4 100644 --- a/components/Leverager/Operation/index.tsx +++ b/components/Leverager/Operation/index.tsx @@ -91,7 +91,7 @@ const Operation = () => { )} {disabledSubmit ? ( ) : ( ), source: 'exactly' as const, @@ -361,7 +361,7 @@ const Strategies: NextPage = () => { }); }} > - {t('Leverage')} + {t('Deleverage')} ), },