The amount input uses step="any", so a user can enter more fractional digits than USDC's 6 decimals. That is currently handed straight to parseUnits. Add a visible validation error when the entered amount has more decimal places than the token supports, instead of relying on downstream rounding.
The amount input uses step="any", so a user can enter more fractional digits than USDC's 6 decimals. That is currently handed straight to parseUnits. Add a visible validation error when the entered amount has more decimal places than the token supports, instead of relying on downstream rounding.