Makes composeValidatorsApps a wrapper

This commit is contained in:
apane 2020-04-24 10:33:28 -03:00 committed by Mikhail Mikheev
parent 8da025c86e
commit 74d9ce7265
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ export const composeValidatorsApps = (...validators: Function[]): FieldValidator
if (!meta.modified) {
return
}
return validators.reduce((error, validator) => error || validator(value), undefined)
return composeValidators(validators)
}
export const inLimit = (limit: number, base: number, baseText: string, symbol: string = 'ETH') => (value: string) => {