aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-11-14 11:49:06 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-11-14 11:49:06 +0800
commit80e7e84a06319a79a757406b58df318cce3dfa08 (patch)
tree26e5b028372621a12553b788e40aa4cee7fa51b1 /packages/instant/src
parent15105cde0f69bd6faaa0d35a32797f77b7b163b5 (diff)
downloaddexon-sol-tools-80e7e84a06319a79a757406b58df318cce3dfa08.tar
dexon-sol-tools-80e7e84a06319a79a757406b58df318cce3dfa08.tar.gz
dexon-sol-tools-80e7e84a06319a79a757406b58df318cce3dfa08.tar.bz2
dexon-sol-tools-80e7e84a06319a79a757406b58df318cce3dfa08.tar.lz
dexon-sol-tools-80e7e84a06319a79a757406b58df318cce3dfa08.tar.xz
dexon-sol-tools-80e7e84a06319a79a757406b58df318cce3dfa08.tar.zst
dexon-sol-tools-80e7e84a06319a79a757406b58df318cce3dfa08.zip
fix: do not remove payment dropdown when confirmation pending
Diffstat (limited to 'packages/instant/src')
-rw-r--r--packages/instant/src/containers/connected_buy_order_progress_or_payment_method.tsx3
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;