Skip to content

Commit

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

0 comments on commit 35351a4

Please sign in to comment.