chore: prettier config
husky needs to be delegated to v11 since it breaks with node 14 + 22 combo
This commit is contained in:
parent
dbca0c8a8c
commit
d3c3de66fe
65 changed files with 1542 additions and 22553 deletions
|
|
@ -21,14 +21,8 @@ const initialValues = {
|
|||
}
|
||||
|
||||
const validationSchema = Yup.object().shape({
|
||||
code: Yup.string()
|
||||
.required()
|
||||
.trim()
|
||||
.max(25),
|
||||
discount: Yup.number()
|
||||
.required()
|
||||
.min(0)
|
||||
.max(100)
|
||||
code: Yup.string().required().trim().max(25),
|
||||
discount: Yup.number().required().min(0).max(100)
|
||||
})
|
||||
|
||||
const PromoCodesModal = ({ showModal, onClose, errorMsg, addCode }) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue