making the buy input box in the swap-form ready only

This commit is contained in:
2025-12-01 13:04:05 -04:00
parent f3277b45ab
commit 7b8114267e

View File

@@ -309,6 +309,7 @@ export function SwapForm() {
onChange={(e) => setToAmount(e.target.value)}
className="text-2xl h-16"
disabled={!selectedFromToken}
readOnly
/>
<div className="relative min-w-[160px] space-y-1" ref={toDropdownRef}>
<Button