mirror of
https://github.com/status-im/safe-react.git
synced 2025-02-25 16:05:25 +00:00
Makes composeValidatorsApps a wrapper
This commit is contained in:
parent
8da025c86e
commit
74d9ce7265
@ -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) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user