14.05.2026 rip
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user