Fix PageSpeed settings validation.
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -152,7 +152,7 @@ const PageSpeedSetup = () => {
|
||||
});
|
||||
|
||||
const { error } = monitorValidation.validate(
|
||||
{ [name]: value },
|
||||
{ ...monitor, [name]: value },
|
||||
{ abortEarly: false }
|
||||
);
|
||||
setErrors((prev) => ({
|
||||
|
||||
@@ -213,6 +213,7 @@ const monitorValidation = joi.object({
|
||||
}),
|
||||
otherwise: joi.string().allow(null, ""),
|
||||
}),
|
||||
notifications: joi.array().optional(),
|
||||
});
|
||||
|
||||
const imageValidation = joi.object({
|
||||
|
||||
Reference in new issue
Block a user