I have solve an issue from currrency project #232
ahammad-aly
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
this code is incorrect:
<InputBox
label="From"
amount={amount}
currencyOptions={options}
onCurrencyChange={(currency) => setAmount(amount)}
selectCurrency={from}
onAmountChange={(amount) => setAmount(amount)}
/>
and correct is here:
<InputBox
label="From"
amount={amount}
currencyChange={(op)=> setFrom(op)}
currencyOption={options}
amountChange={(am)=> setAmount(am)}
selectCurrency={from}
Beta Was this translation helpful? Give feedback.
All reactions