From 9d59d0d59aa16c24dcdc0130843cbfddb9cf83af Mon Sep 17 00:00:00 2001 From: Michael Jackson Date: Tue, 9 Aug 2016 09:31:42 -0700 Subject: [PATCH] Revert "Fix NumberInput when displayValue is NaN" --- modules/client/components/NumberTextInput.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/client/components/NumberTextInput.js b/modules/client/components/NumberTextInput.js index 79027e6..02fab47 100644 --- a/modules/client/components/NumberTextInput.js +++ b/modules/client/components/NumberTextInput.js @@ -31,10 +31,8 @@ class NumberTextInput extends React.Component { const { value } = this.state const displayValue = this.props.formatNumber(value) - const inputValue = isNaN(displayValue) ? 0 : displayValue - return ( - + ) } }