Skip to content

Commit

Permalink
fix: error validation message in getPasswordErrorMessage for MT5 and …
Browse files Browse the repository at this point in the history
…DerivX (binary-com#16364)
  • Loading branch information
aum-deriv authored and heorhi-deriv committed Aug 6, 2024
1 parent 8a6161b commit 557f11e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/wallets/src/constants/password.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ export const passwordValues = {
};

export const getPasswordErrorMessage = () => ({
invalidLength: localize('You should enter{{minLength}}-{{maxLength}} characters.', {
invalidLength: localize('You should enter {{minLength}}-{{maxLength}} characters.', {
maxLength: passwordValues.maxLength,
minLength: passwordValues.minLength,
}),
invalidLengthMT5: localize('You should enter {{minLength}}-{{maxLengthMT5}} characters.', {
invalidLengthMT5: localize('You should enter {{minLength}}-{{maxLength}} characters.', {
maxLength: passwordValues.maxLengthMT5,
minLength: passwordValues.minLength,
}),
Expand Down

0 comments on commit 557f11e

Please sign in to comment.