fix: breaking changes from yup 0.32.9
This commit is contained in:
parent
a48c474da1
commit
0c7c7ccf42
2 changed files with 9 additions and 3 deletions
|
|
@ -318,7 +318,8 @@ const getOverridesSchema = (values, rawData) => {
|
|||
}
|
||||
})
|
||||
.label('Crypto Currencies')
|
||||
.required(),
|
||||
.required()
|
||||
.min(1),
|
||||
cashIn: Yup.number()
|
||||
.label('Cash-in')
|
||||
.min(0)
|
||||
|
|
@ -423,7 +424,8 @@ const getListCommissionsSchema = () => {
|
|||
.required(),
|
||||
cryptoCurrencies: Yup.array()
|
||||
.label('Crypto Currency')
|
||||
.required(),
|
||||
.required()
|
||||
.min(1),
|
||||
cashIn: Yup.number()
|
||||
.label('Cash-in')
|
||||
.min(0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue