+ {isLoading ? (
+
+ ) : (
+
{
+ const inputValue = e.target.value
+ if (inputValue === '') {
+ handleDestinationAmountChange('', '')
+ } else {
+ const value = parseFloat(inputValue)
+ handleDestinationAmountChange(inputValue, isNaN(value) ? '' : value)
+ }
+ }}
+ type="number"
+ className="w-full bg-transparent outline-none"
+ />
+ )}
+
+
+ {destinationCurrency}
+
+ }
+ />
+