diff --git a/packages/appstore/src/components/cfds-listing/index.tsx b/packages/appstore/src/components/cfds-listing/index.tsx
index 3cf7d4b3ef8e..f70705787c46 100644
--- a/packages/appstore/src/components/cfds-listing/index.tsx
+++ b/packages/appstore/src/components/cfds-listing/index.tsx
@@ -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;
@@ -342,7 +342,7 @@ const CFDsListing = () => {
/>
);
})
- : !is_real && }
+ : !is_real && } */}
);
};
diff --git a/packages/appstore/src/components/onboarding-new/__tests__/static-dashboard.spec.tsx b/packages/appstore/src/components/onboarding-new/__tests__/static-dashboard.spec.tsx
deleted file mode 100644
index d096c0b2abec..000000000000
--- a/packages/appstore/src/components/onboarding-new/__tests__/static-dashboard.spec.tsx
+++ /dev/null
@@ -1,56 +0,0 @@
-import React from 'react';
-import { render, screen } from '@testing-library/react';
-import StaticDashboard from '../static-dashboard';
-import { StoreProvider, mockStore } from '@deriv/stores';
-
-describe('', () => {
- const is_blurry = {
- icon: true,
- item: false,
- text: false,
- get: false,
- topup: false,
- trade: false,
- cfd_item: false,
- cfd_text: false,
- options_item: false,
- options_text: false,
- cfd_description: false,
- options_description: false,
- platformlauncher: false,
- };
-
- const is_onboarding_animated = {
- text: false,
- trade: false,
- topup: false,
- button: false,
- get: false,
- };
-
- test('should render derivez in page if !CFDs_restricted_countries (non-eu countries)', () => {
- const mock = mockStore({});
-
- render(
-
-
-
- );
- expect(screen.queryByText('Deriv EZ')).toBeInTheDocument();
- });
-
- test('should not render derivez if CFDs_restricted_countries: true (eu countries)', () => {
- const mock = mockStore({
- traders_hub: {
- CFDs_restricted_countries: true,
- },
- });
-
- render(
-
-
-
- );
- expect(screen.queryByText('Deriv Ez')).not.toBeInTheDocument();
- });
-});
diff --git a/packages/appstore/src/components/onboarding-new/static-dashboard.tsx b/packages/appstore/src/components/onboarding-new/static-dashboard.tsx
index d9fcd14b295a..c3dd2b438671 100644
--- a/packages/appstore/src/components/onboarding-new/static-dashboard.tsx
+++ b/packages/appstore/src/components/onboarding-new/static-dashboard.tsx
@@ -564,7 +564,7 @@ const StaticDashboard = ({
is_financial_last_step={is_financial_last_step}
is_eu_user={is_eu_user}
/>
-
+ /> */}
)}
diff --git a/packages/cfd/src/Stores/Modules/CFD/cfd-store.js b/packages/cfd/src/Stores/Modules/CFD/cfd-store.js
index ef91c114b33d..b27032ab31ff 100644
--- a/packages/cfd/src/Stores/Modules/CFD/cfd-store.js
+++ b/packages/cfd/src/Stores/Modules/CFD/cfd-store.js
@@ -701,8 +701,8 @@ export default class CFDStore extends BaseStore {
setDerivezToken(response, server) {
if (!response.error) {
- const { derivez } = response.service_token;
- this.derivez_tokens[server] = derivez.token;
+ const { pandats } = response.service_token;
+ this.derivez_tokens[server] = pandats.token;
}
}
diff --git a/packages/stores/src/mockStore.ts b/packages/stores/src/mockStore.ts
index 2a58d6931a94..ddcc14eadb8a 100644
--- a/packages/stores/src/mockStore.ts
+++ b/packages/stores/src/mockStore.ts
@@ -123,6 +123,7 @@ const mock = (): TStores & { is_mock: boolean } => {
is_deposit_lock: false,
is_dxtrade_allowed: false,
is_eu: false,
+ is_eu_country: false,
is_financial_account: false,
is_financial_information_incomplete: false,
is_low_risk: false,
diff --git a/packages/stores/types.ts b/packages/stores/types.ts
index f1fc8ba1d8ea..13d981719e9a 100644
--- a/packages/stores/types.ts
+++ b/packages/stores/types.ts
@@ -131,6 +131,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[];