Skip to content

Commit

Permalink
Hirad/ Fixed the issue where the user could not trade in deriv EZ (#9165
Browse files Browse the repository at this point in the history
)

* fix: fixed the issue where the user could not trade in the deriv EZ platform

* fix: changed the URL of Deriv EZ

* fix: adding empty commit to pass the tests

* fix: rerunning the tests
  • Loading branch information
hirad-deriv committed Jun 28, 2023
1 parent 06343ec commit 046bfd9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 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

1 comment on commit 046bfd9

@vercel
Copy link

@vercel vercel bot commented on 046bfd9 Jun 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

deriv-app – ./

deriv-app.vercel.app
deriv-app.binary.sx
deriv-app-git-master.binary.sx
binary.sx

Please sign in to comment.