aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/containers
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-10-10 03:11:12 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-10-10 03:11:12 +0800
commit941448d65cc42870a93e0430158bfd7ab52fd2cd (patch)
treec5f4a1f00474b66e3479f5b38187aacb0dbf960c /packages/instant/src/containers
parent764f402eb9bae2131a5eda52fd8d203f8e4bdecf (diff)
downloaddexon-sol-tools-941448d65cc42870a93e0430158bfd7ab52fd2cd.tar
dexon-sol-tools-941448d65cc42870a93e0430158bfd7ab52fd2cd.tar.gz
dexon-sol-tools-941448d65cc42870a93e0430158bfd7ab52fd2cd.tar.bz2
dexon-sol-tools-941448d65cc42870a93e0430158bfd7ab52fd2cd.tar.lz
dexon-sol-tools-941448d65cc42870a93e0430158bfd7ab52fd2cd.tar.xz
dexon-sol-tools-941448d65cc42870a93e0430158bfd7ab52fd2cd.tar.zst
dexon-sol-tools-941448d65cc42870a93e0430158bfd7ab52fd2cd.zip
Fix empty input bug
Diffstat (limited to 'packages/instant/src/containers')
-rw-r--r--packages/instant/src/containers/selected_asset_amount_input.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/containers/selected_asset_amount_input.tsx b/packages/instant/src/containers/selected_asset_amount_input.tsx
index 818caa965..800a4c568 100644
--- a/packages/instant/src/containers/selected_asset_amount_input.tsx
+++ b/packages/instant/src/containers/selected_asset_amount_input.tsx
@@ -19,7 +19,7 @@ interface ConnectedState {
}
interface ConnectedDispatch {
- onChange?: (value: BigNumber) => void;
+ onChange?: (value?: BigNumber) => void;
}
const mapStateToProps = (state: State, _ownProps: SelectedAssetAmountInputProps): ConnectedState => ({