diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-10-24 06:19:01 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-10-24 06:19:01 +0800 |
commit | 053e147afc1b8471c480a8612cb6bae4c363b21b (patch) | |
tree | 1559ed796585a1ed7bf806d2b7de7b45bec7dd1b /packages/instant/src/components/scaling_amount_input.tsx | |
parent | f0c79473bdaeb87f49a9eb59fc88336f02e81546 (diff) | |
download | dexon-0x-contracts-053e147afc1b8471c480a8612cb6bae4c363b21b.tar.gz dexon-0x-contracts-053e147afc1b8471c480a8612cb6bae4c363b21b.tar.zst dexon-0x-contracts-053e147afc1b8471c480a8612cb6bae4c363b21b.zip |
fix: remove the concept of initial with from scaling input and remove phase
Diffstat (limited to 'packages/instant/src/components/scaling_amount_input.tsx')
-rw-r--r-- | packages/instant/src/components/scaling_amount_input.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/components/scaling_amount_input.tsx b/packages/instant/src/components/scaling_amount_input.tsx index 9539bfd94..2baff5621 100644 --- a/packages/instant/src/components/scaling_amount_input.tsx +++ b/packages/instant/src/components/scaling_amount_input.tsx @@ -26,7 +26,6 @@ export class ScalingAmountInput extends React.Component<ScalingAmountInputProps> const { startWidthCh, endWidthCh, fontColor, maxFontSizePx, value, onFontSizeChange } = this.props; return ( <ScalingInput - startWidthCh={startWidthCh} endWidthCh={endWidthCh} maxFontSizePx={maxFontSizePx} onFontSizeChange={onFontSizeChange} @@ -34,6 +33,7 @@ export class ScalingAmountInput extends React.Component<ScalingAmountInputProps> onChange={this._handleChange} value={!_.isUndefined(value) ? value.toString() : ''} placeholder="0.00" + emptyInputWidthCh={3.5} /> ); } |