Skip to content

Commit

Permalink
chore: change reaction and call validateAllProperties (#8165)
Browse files Browse the repository at this point in the history
  • Loading branch information
aizad-deriv authored Apr 6, 2023
1 parent 48875e4 commit 2f889dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/trader/src/Stores/Modules/Trading/trade-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,10 +393,11 @@ export default class TradeStore extends BaseStore {
}
);
reaction(
() => this.root_store.common.is_language_changing,
() => this.root_store.common.current_language,
() => {
this.setValidationRules(getValidationRules());
this.changeDurationValidationRules();
this.validateAllProperties();
}
);
when(
Expand Down

1 comment on commit 2f889dd

@vercel
Copy link

@vercel vercel bot commented on 2f889dd Apr 6, 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 – ./

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

Please sign in to comment.