From c8e7d225ca4bc9774b4f902c01668873cbdce6a1 Mon Sep 17 00:00:00 2001 From: fragosti Date: Wed, 10 Oct 2018 16:55:59 -0700 Subject: Be more explicit with falsiness --- packages/instant/src/components/amount_input.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/instant/src') diff --git a/packages/instant/src/components/amount_input.tsx b/packages/instant/src/components/amount_input.tsx index 12cb9a48c..3f16869b4 100644 --- a/packages/instant/src/components/amount_input.tsx +++ b/packages/instant/src/components/amount_input.tsx @@ -22,7 +22,7 @@ export class AmountInput extends React.Component { fontColor={fontColor} fontSize={fontSize} onChange={this._handleChange} - value={value ? value.toString() : ''} + value={!_.isUndefined(value) ? value.toString() : ''} placeholder="0.00" width="2em" /> -- cgit