Skip to content

Commit

Permalink
fix: 🐛 resolved issue with trade. odal (deriv-com#7291)
Browse files Browse the repository at this point in the history
  • Loading branch information
likhith-deriv authored Jan 11, 2023
1 parent cfbbf1b commit b6f7e4c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/core/src/App/Containers/Modals/app-modals.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ const AppModals = ({
is_trading_assessment_for_new_user_enabled,
fetchFinancialAssessment,
setCFDScore,
cfd_score,
active_account_landing_company,
is_deriv_account_needed_modal_visible,
is_warning_scam_message_modal_visible,
Expand Down Expand Up @@ -137,8 +136,7 @@ const AppModals = ({
if (
is_logged_in &&
active_account_landing_company === 'maltainvest' &&
!is_trading_assessment_for_new_user_enabled &&
cfd_score === 0
!is_trading_assessment_for_new_user_enabled
) {
ComponentToLoad = <TradingAssessmentExistingUser />;
}
Expand Down Expand Up @@ -177,7 +175,6 @@ export default connect(({ client, ui }) => ({
has_maltainvest_account: client.has_maltainvest_account,
fetchFinancialAssessment: client.fetchFinancialAssessment,
setCFDScore: client.setCFDScore,
cfd_score: client.cfd_score,
setShouldShowVerifiedAccount: ui.setShouldShowVerifiedAccount,
should_show_cooldown_modal: ui.should_show_cooldown_modal,
should_show_assessment_complete_modal: ui.should_show_assessment_complete_modal,
Expand Down

0 comments on commit b6f7e4c

Please sign in to comment.