14.05.2026 rip

This commit is contained in:
2026-05-14 18:03:48 +03:00
parent 5e5fe02bb7
commit 168dedcdc5
2 changed files with 4 additions and 2 deletions

View File

@@ -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 {

View File

@@ -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