diff --git a/packages/cfd/src/Helpers/constants.ts b/packages/cfd/src/Helpers/constants.ts index fdad551a2643..c53bec4b320d 100644 --- a/packages/cfd/src/Helpers/constants.ts +++ b/packages/cfd/src/Helpers/constants.ts @@ -120,7 +120,7 @@ const getDerivEzWebTerminalLink = (category: string, token?: string) => { let url = DERIVEZ_URL; if (token) { - url += `?token=${token}`; + url += `?lang=en&token=${token}`; } return url; diff --git a/packages/cfd/src/Stores/Modules/CFD/cfd-store.js b/packages/cfd/src/Stores/Modules/CFD/cfd-store.js index bd38722f3b7d..6b1ba16564d8 100644 --- a/packages/cfd/src/Stores/Modules/CFD/cfd-store.js +++ b/packages/cfd/src/Stores/Modules/CFD/cfd-store.js @@ -126,15 +126,14 @@ export default class CFDStore extends BaseStore { } ); - // todo: uncomment this once derivez tokens are ready - // reaction( - // () => [this.root_store.client.derivez_accounts_list], - // () => { - // if (this.root_store.client.derivez_accounts_list.length > 0) { - // this.loadDerivezTokens(); - // } - // } - // ); + reaction( + () => [this.root_store.client.derivez_accounts_list], + () => { + if (this.root_store.client.derivez_accounts_list.length > 0) { + this.loadDerivezTokens(); + } + } + ); } get account_title() {