Skip to content

Commit

Permalink
fix: Useless assignment to local variable (#625)
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Feb 8, 2024
1 parent 0b7bb8a commit 98b6025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/InputNumber.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ const InternalInputNumber = React.forwardRef(
*/
const flushInputValue = (userTyping: boolean) => {
const parsedValue = getMiniDecimal(mergedParser(inputValue));
let formatValue: DecimalClass = parsedValue;
let formatValue: DecimalClass;

if (!parsedValue.isNaN()) {
// Only validate value or empty value can be re-fill to inputValue
Expand Down

0 comments on commit 98b6025

Please sign in to comment.