Update with changes from code review.

This commit is contained in:
Matt Stein committed 2025-08-15 16:40:21 -07:00
1 parent 8aee01e008
commit 7178f537a8
2 files changed
+1 -2

No files matched your search

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