Skip to content

Commit

Permalink
Fix #6584: _locale fix (#6586)
Browse files Browse the repository at this point in the history
* Fix #6584: _locale fix

* Revert "Fix #6584: _locale fix"

This reverts commit aea83a4.

* Fix #6584: _locale fix
  • Loading branch information
Rekl0w authored May 7, 2024
1 parent 686262f commit d4d5147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/inputnumber/InputNumber.js
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ export const InputNumber = React.memo(
useUpdateEffect(() => {
constructParser();
changeValue();
}, [props.locale, props.localeMatcher, props.mode, props.currency, props.currencyDisplay, props.useGrouping, props.minFractionDigits, props.maxFractionDigits, props.suffix, props.prefix]);
}, [_locale, props.locale, props.localeMatcher, props.mode, props.currency, props.currencyDisplay, props.useGrouping, props.minFractionDigits, props.maxFractionDigits, props.suffix, props.prefix]);

useUpdateEffect(() => {
changeValue();
Expand Down

0 comments on commit d4d5147

Please sign in to comment.