aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant
diff options
context:
space:
mode:
Diffstat (limited to 'packages/instant')
-rw-r--r--packages/instant/src/components/amount_input.tsx2
1 files changed, 1 insertions, 1 deletions
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<AmountInputProps> {
fontColor={fontColor}
fontSize={fontSize}
onChange={this._handleChange}
- value={value ? value.toString() : ''}
+ value={!_.isUndefined(value) ? value.toString() : ''}
placeholder="0.00"
width="2em"
/>