aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;