Update packages

This commit is contained in:
Timothy Armes
2024-09-26 16:45:40 +02:00
parent 75fd05a3d7
commit 1c7ad63e03
33 changed files with 1822 additions and 1351 deletions
@@ -41,7 +41,9 @@ const EditZone = () => {
zone: data,
});
if (updatedZone.serverError) {
if (updatedZone?.validationErrors) {
throw new Error("ERR_VALIDATION");
} else if (updatedZone?.serverError) {
throw new Error(updatedZone.serverError);
}