From b01e92e3fb1e5f6f685373c3301abf440cfeff9d Mon Sep 17 00:00:00 2001 From: Shahzaib Date: Wed, 13 Dec 2023 13:26:04 +0800 Subject: [PATCH] fix: condition to render the modal in real account creation (#12215) --- .../App/Containers/RealAccountSignup/real-account-signup.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/App/Containers/RealAccountSignup/real-account-signup.jsx b/packages/core/src/App/Containers/RealAccountSignup/real-account-signup.jsx index d782a7f52c06..124ff8e04642 100644 --- a/packages/core/src/App/Containers/RealAccountSignup/real-account-signup.jsx +++ b/packages/core/src/App/Containers/RealAccountSignup/real-account-signup.jsx @@ -491,7 +491,7 @@ const RealAccountSignup = ({ active_modal_index_no = modal_pages_indices.add_or_manage_account; } else { active_modal_index_no = - (!currency && real_account_signup_target !== 'maltainvest') || is_loading + real_account_signup_target === 'set_currency' ? modal_pages_indices.set_currency : modal_pages_indices.account_wizard; }