diff --git a/modules/client/components/NumberTextInput.js b/modules/client/components/NumberTextInput.js index 02fab47..79027e6 100644 --- a/modules/client/components/NumberTextInput.js +++ b/modules/client/components/NumberTextInput.js @@ -31,8 +31,10 @@ class NumberTextInput extends React.Component { const { value } = this.state const displayValue = this.props.formatNumber(value) + const inputValue = isNaN(displayValue) ? 0 : displayValue + return ( - + ) } }