Update packages

This commit is contained in:
Timothy Armes
2024-10-21 15:19:28 +02:00
parent 75fd05a3d7
commit 1c7ad63e03
33 changed files with 1822 additions and 1351 deletions
@@ -23,7 +23,9 @@ export default function Contact() {
setDeleting(true);
const result = await deleteAccount();
if (result.serverError) {
if (result?.validationErrors) {
throw new Error("ERR_VALIDATION");
} else if (result?.serverError) {
throw new Error(result.serverError);
}
@@ -68,7 +70,7 @@ export default function Contact() {
<button
type="button"
onClick={() => router.back()}
className="rounded-lg border border-primary px-5 py-3 text-center text-xs text-primary hover:bg-primary hover:text-white focus:outline-none focus:ring-4 focus:ring-primary-300 disabled:opacity-25 dark:text-white dark:focus:ring-primary-800 sm:w-fit"
className="rounded-lg border border-primary px-5 py-3 text-center text-xs text-primary hover:bg-primary hover:text-white focus:outline-none focus:ring-4 focus:ring-primary-300 disabled:opacity-25 dark:text-white dark:focus:ring-primary-800 sm:w-fit"
>
{at("cancelButton")}
</button>