Closed hone1er closed 6 months ago
This pull request fixes the input validation in the TokenQuantityInput component to prevent a UI error. The handleChange function now checks if the input value contains only numbers and one decimal point before updating the state.
Error without the validation 👇
@hone1er is attempting to deploy a commit to the useWeb3 Team on Vercel.
A member of the Team first needs to authorize it.
This pull request fixes the input validation in the TokenQuantityInput component to prevent a UI error. The handleChange function now checks if the input value contains only numbers and one decimal point before updating the state.
Error without the validation 👇