Skip to content

Commit

Permalink
Hirad/ hidding deriv ez (#9175)
Browse files Browse the repository at this point in the history
* fix: hidding deriv ez

* fix: removed deriv ez from onboarindg

* fix: removed deriv ez from onboarding and tests

* fix: hid the deriv ez and fixed the tests
  • Loading branch information
hirad-deriv committed Jun 28, 2023
1 parent 7ec2d6f commit 48bf63f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 60 deletions.
4 changes: 2 additions & 2 deletions packages/appstore/src/components/cfds-listing/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ const CFDsListing = () => {
)}

{/* TODO: remove is_real flag to unblock the flow for derivez real account creation */}
{is_landing_company_loaded && !is_real
{/* {is_landing_company_loaded && !is_real
? available_derivez_accounts?.map((account: AvailableAccount) => {
const existing_accounts = getExistingAccounts(account.platform, account.market_type);
const has_existing_accounts = existing_accounts.length > 0;
Expand Down Expand Up @@ -342,7 +342,7 @@ const CFDsListing = () => {
/>
);
})
: !is_real && <PlatformLoader />}
: !is_real && <PlatformLoader />} */}
</ListingContainer>
);
};
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ const StaticDashboard = ({
is_financial_last_step={is_financial_last_step}
is_eu_user={is_eu_user}
/>
<StaticCFDAccountManager
{/* <StaticCFDAccountManager
type='Financial'
platform='derivez'
appname={localize('Deriv EZ')}
Expand All @@ -580,7 +580,7 @@ const StaticDashboard = ({
is_blurry={is_blurry}
is_onboarding_animated={is_onboarding_animated}
is_eu_user={is_eu_user}
/>
/> */}
</div>
)}
</div>
Expand Down
1 change: 1 addition & 0 deletions packages/stores/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ type TNotification =

type TClientStore = {
accounts: { [k: string]: TActiveAccount };
is_eu_country: boolean;
active_accounts: TActiveAccount[];
active_account_landing_company: string;
trading_platform_available_accounts: TTradingPlatformAvailableAccount[];
Expand Down

0 comments on commit 48bf63f

Please sign in to comment.