Fix PageSpeed settings validation.

This commit is contained in:
Matt Stein committed 2025-08-15 14:34:42 -07:00
1 parent 254cb6d80f
commit 8aee01e008
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -152,7 +152,7 @@ const PageSpeedSetup = () => {
});
const { error } = monitorValidation.validate(
{ [name]: value },
{ ...monitor, [name]: value },
{ abortEarly: false }
);
setErrors((prev) => ({
+1
View File
@@ -213,6 +213,7 @@ const monitorValidation = joi.object({
}),
otherwise: joi.string().allow(null, ""),
}),
notifications: joi.array().optional(),
});
const imageValidation = joi.object({