This commit is contained in:
zramsay 2025-06-26 15:03:38 -04:00
parent 3a3d7702ec
commit d766cd8c06

View File

@ -16,7 +16,7 @@ export default function PaymentModal({
url, url,
onPaymentComplete, onPaymentComplete,
}: PaymentModalProps) { }: PaymentModalProps) {
const [amount, setAmount] = useState('0.001'); const [amount, setAmount] = useState('0.01');
const [loading, setLoading] = useState(false); const [loading, setLoading] = useState(false);
const [error, setError] = useState(''); const [error, setError] = useState('');
@ -93,8 +93,8 @@ export default function PaymentModal({
<input <input
id="amount" id="amount"
type="number" type="number"
min="0.001" min="0.01"
step="0.001" step="0.01"
value={amount} value={amount}
onChange={handleAmountChange} onChange={handleAmountChange}
className="w-full p-3 pr-12 rounded-md" className="w-full p-3 pr-12 rounded-md"