diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-06-01 02:40:21 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-06-01 02:54:25 +0800 |
commit | df27f4f1183e5d5879aa0768b2edfef091750ec5 (patch) | |
tree | 9b9ba591f9cc1cc34c56440e4368433150acb99d /packages/website/ts/components/eth_weth_conversion_button.tsx | |
parent | bee26daf0c2497a11dfe944d355c4958329d1f50 (diff) | |
download | dexon-0x-contracts-df27f4f1183e5d5879aa0768b2edfef091750ec5.tar dexon-0x-contracts-df27f4f1183e5d5879aa0768b2edfef091750ec5.tar.gz dexon-0x-contracts-df27f4f1183e5d5879aa0768b2edfef091750ec5.tar.bz2 dexon-0x-contracts-df27f4f1183e5d5879aa0768b2edfef091750ec5.tar.lz dexon-0x-contracts-df27f4f1183e5d5879aa0768b2edfef091750ec5.tar.xz dexon-0x-contracts-df27f4f1183e5d5879aa0768b2edfef091750ec5.tar.zst dexon-0x-contracts-df27f4f1183e5d5879aa0768b2edfef091750ec5.zip |
Change userEtherBalanceInWei to optional so we can know if its loading
Diffstat (limited to 'packages/website/ts/components/eth_weth_conversion_button.tsx')
-rw-r--r-- | packages/website/ts/components/eth_weth_conversion_button.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/components/eth_weth_conversion_button.tsx b/packages/website/ts/components/eth_weth_conversion_button.tsx index 4b91a2ebd..2fb35cc1c 100644 --- a/packages/website/ts/components/eth_weth_conversion_button.tsx +++ b/packages/website/ts/components/eth_weth_conversion_button.tsx @@ -18,7 +18,7 @@ interface EthWethConversionButtonProps { ethToken: Token; dispatcher: Dispatcher; blockchain: Blockchain; - userEtherBalanceInWei: BigNumber; + userEtherBalanceInWei?: BigNumber; isOutdatedWrappedEther: boolean; onConversionSuccessful?: () => void; isDisabled?: boolean; |