style: prettier 格式修复

This commit is contained in:
erio
2026-04-01 17:52:02 +08:00
parent 331ff29fab
commit 61c8dc32df
+2 -1
View File
@@ -94,7 +94,8 @@ export default function PaymentForm({
const methodSingleMax = methodLimits?.[effectivePaymentType]?.singleMax;
const methodSingleMin = methodLimits?.[effectivePaymentType]?.singleMin;
const effectiveMax = methodSingleMax !== undefined && methodSingleMax > 0 ? methodSingleMax : maxAmount;
const effectiveMin = methodSingleMin !== undefined && methodSingleMin > 0 ? Math.max(methodSingleMin, minAmount) : minAmount;
const effectiveMin =
methodSingleMin !== undefined && methodSingleMin > 0 ? Math.max(methodSingleMin, minAmount) : minAmount;
const feeRate = methodLimits?.[effectivePaymentType]?.feeRate ?? 0;
const feeAmount = feeRate > 0 && selectedAmount > 0 ? Math.ceil(((selectedAmount * feeRate) / 100) * 100) / 100 : 0;
const payAmount =