diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-11-10 08:16:04 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-11-10 08:16:04 +0800 |
commit | 5355f3c538bbeb9a7edb6d4d7995bc02294df257 (patch) | |
tree | 7b1f9c650f2c973fc6054343ada02c2dd79cd4cd /packages/instant/src/components/zero_ex_instant_container.tsx | |
parent | 478330c12db31abf3035fbec424cda0155020182 (diff) | |
download | dexon-0x-contracts-5355f3c538bbeb9a7edb6d4d7995bc02294df257.tar.gz dexon-0x-contracts-5355f3c538bbeb9a7edb6d4d7995bc02294df257.tar.zst dexon-0x-contracts-5355f3c538bbeb9a7edb6d4d7995bc02294df257.zip |
fix: remove unused ProgressBar from BuyOrderProgress and fix issue where payment method is not shown for pending metamask confirmation
Diffstat (limited to 'packages/instant/src/components/zero_ex_instant_container.tsx')
-rw-r--r-- | packages/instant/src/components/zero_ex_instant_container.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/instant/src/components/zero_ex_instant_container.tsx b/packages/instant/src/components/zero_ex_instant_container.tsx index 6412c9c66..5c2055a8a 100644 --- a/packages/instant/src/components/zero_ex_instant_container.tsx +++ b/packages/instant/src/components/zero_ex_instant_container.tsx @@ -87,8 +87,7 @@ export class ZeroExInstantContainer extends React.Component<ZeroExInstantContain orderProcessState === OrderProcessState.Failure ) { return <SelectedAssetBuyOrderProgress />; - } - if (orderProcessState === OrderProcessState.None) { + } else { return <ConnectedAccountPaymentMethod />; } return null; |