From da7e637183c076380251f004cb5960cc9474ec39 Mon Sep 17 00:00:00 2001 From: Dave Richer Date: Wed, 28 May 2025 12:26:48 -0400 Subject: [PATCH] feature/IO-3182-Phone-Number-Consent - Checkpoint --- .../owner-detail-form/owner-detail-form.container.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/components/owner-detail-form/owner-detail-form.container.jsx b/client/src/components/owner-detail-form/owner-detail-form.container.jsx index fdf2df339..d1f34b82b 100644 --- a/client/src/components/owner-detail-form/owner-detail-form.container.jsx +++ b/client/src/components/owner-detail-form/owner-detail-form.container.jsx @@ -25,14 +25,14 @@ function OwnerDetailFormContainer({ owner, refetch }) { }); console.log(result); if (result.errors) { - notification["error"]({ + notification.error({ message: t("owners.errors.deleting", { error: JSON.stringify(result.errors) }) }); setLoading(false); } else { - notification["success"]({ + notification.success({ message: t("owners.successes.delete") }); setLoading(false); @@ -47,7 +47,7 @@ function OwnerDetailFormContainer({ owner, refetch }) { }); if (!!result.errors) { - notification["error"]({ + notification.error({ message: t("owners.errors.saving", { error: JSON.stringify(result.errors) }) @@ -56,7 +56,7 @@ function OwnerDetailFormContainer({ owner, refetch }) { return; } - notification["success"]({ + notification.success({ message: t("owners.successes.save") });