From 168dedcdc5b40c78ba51942a9d7ebe7db04b3e1a Mon Sep 17 00:00:00 2001 From: rassadin11 Date: Thu, 14 May 2026 18:03:48 +0300 Subject: [PATCH] 14.05.2026 rip --- src/widgets/converter-page/ui/ConverterSection.module.css | 3 ++- src/widgets/converter-page/ui/ConverterSection.tsx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/widgets/converter-page/ui/ConverterSection.module.css b/src/widgets/converter-page/ui/ConverterSection.module.css index 641de5e..cd799f5 100644 --- a/src/widgets/converter-page/ui/ConverterSection.module.css +++ b/src/widgets/converter-page/ui/ConverterSection.module.css @@ -89,7 +89,7 @@ } .field { - margin-bottom: 24px; + margin-bottom: 12px; } .fieldError { @@ -164,6 +164,7 @@ .swapWrap { display: flex; justify-content: center; + margin-bottom: 12px; } .swapBtn { diff --git a/src/widgets/converter-page/ui/ConverterSection.tsx b/src/widgets/converter-page/ui/ConverterSection.tsx index bc353b1..9229008 100644 --- a/src/widgets/converter-page/ui/ConverterSection.tsx +++ b/src/widgets/converter-page/ui/ConverterSection.tsx @@ -4,6 +4,7 @@ import { usePaymentQuote, usePaymentConfig, useCreateOrder } from '@features/pay import { CommissionPanel } from './CommissionPanel' import { AgreementCheck } from './AgreementCheck' import styles from './ConverterSection.module.css' +import { GAS_PRICE } from '@shared/config/constants' export function ConverterSection() { const c = useConverter({ usdtRate: 0 }) @@ -13,7 +14,7 @@ export function ConverterSection() { const { data: config } = usePaymentConfig() const configUsdtRate = Number(config?.usdt_exchange_rate) || 0 - const gasPriceRub = Number(config?.gas_fee) + const gasPriceRub = Number(config?.gas_fee) || GAS_PRICE const rubTotal = quote?.total_price ?? '' const rubTotalNum = Number(rubTotal) || 0