diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-11-14 11:49:06 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-11-14 11:49:06 +0800 |
commit | 80e7e84a06319a79a757406b58df318cce3dfa08 (patch) | |
tree | 26e5b028372621a12553b788e40aa4cee7fa51b1 | |
parent | 15105cde0f69bd6faaa0d35a32797f77b7b163b5 (diff) | |
download | dexon-sol-tools-80e7e84a06319a79a757406b58df318cce3dfa08.tar.gz dexon-sol-tools-80e7e84a06319a79a757406b58df318cce3dfa08.tar.zst dexon-sol-tools-80e7e84a06319a79a757406b58df318cce3dfa08.zip |
fix: do not remove payment dropdown when confirmation pending
-rw-r--r-- | packages/instant/src/containers/connected_buy_order_progress_or_payment_method.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/instant/src/containers/connected_buy_order_progress_or_payment_method.tsx b/packages/instant/src/containers/connected_buy_order_progress_or_payment_method.tsx index 05071c8c3..cace18e7e 100644 --- a/packages/instant/src/containers/connected_buy_order_progress_or_payment_method.tsx +++ b/packages/instant/src/containers/connected_buy_order_progress_or_payment_method.tsx @@ -18,8 +18,7 @@ export const BuyOrderProgressOrPaymentMethod = (props: BuyOrderProgressOrPayment orderProcessState === OrderProcessState.Failure ) { return <SelectedAssetBuyOrderProgress />; - } - if (orderProcessState === OrderProcessState.None) { + } else { return <ConnectedAccountPaymentMethod />; } return null; |