Skip to content

Commit

Permalink
Merge branch 'master' into 92483/fix_padding_for_language
Browse files Browse the repository at this point in the history
  • Loading branch information
thisyahlen-deriv committed Jun 28, 2023
2 parents 15d413a + d5aae62 commit 0362f49
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion packages/cfd/src/Helpers/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
17 changes: 8 additions & 9 deletions packages/cfd/src/Stores/Modules/CFD/cfd-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
3 changes: 0 additions & 3 deletions packages/core/src/Services/socket-general.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,6 @@ const BinarySocketGeneral = (() => {
) {
return;
}
if (!['reset_password'].includes(msg_type)) {
if (window.TrackJS) window.TrackJS.track('Custom InvalidToken error');
}
// eslint-disable-next-line no-case-declarations
const active_platform = getActivePlatform(common_store.app_routing_history);

Expand Down

0 comments on commit 0362f49

Please sign in to comment.