Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
solve wrong message when updating profile (#7338)
Browse files Browse the repository at this point in the history
Co-authored-by: Matin shafiei <[email protected]>
  • Loading branch information
suisin-deriv and matin-deriv authored Feb 8, 2023
1 parent 19b3dd8 commit bd4e2ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ const PersonalDetails = (() => {

const setDetailsResponse = (response) => {
// allow user to resubmit the form on error.
const is_error = response.set_settings !== 1;
const is_error = response.error;
if (!is_error) {
// to update tax information message for financial clients
BinarySocket.send({ get_account_status: 1 }, { forced: true }).then(() => {
Expand Down

1 comment on commit bd4e2ab

@vercel
Copy link

@vercel vercel bot commented on bd4e2ab Feb 8, 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:

binary-static – ./

binary-static.binary.sx
binary-static-git-master.binary.sx

Please sign in to comment.