14.05.2026 rip
This commit is contained in:
@@ -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