feature/IO-3182-Phone-Number-Consent - Checkpoint
This commit is contained in:
@@ -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")
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user