From c4f290bfcb699086e90a10a6fe85b0b2b0b93717 Mon Sep 17 00:00:00 2001 From: Rafiafrzl Date: Thu, 20 Nov 2025 19:52:03 +0700 Subject: [PATCH] fix: improve success message in DetailContact --- src/pages/contact/component/DetailContact.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/contact/component/DetailContact.jsx b/src/pages/contact/component/DetailContact.jsx index f6540b6..3b6b873 100644 --- a/src/pages/contact/component/DetailContact.jsx +++ b/src/pages/contact/component/DetailContact.jsx @@ -37,7 +37,6 @@ const DetailContact = memo(function DetailContact(props) { } }; - const handleContactTypeChange = (value) => { setFormData((prev) => ({ ...prev, @@ -114,7 +113,7 @@ const DetailContact = memo(function DetailContact(props) { NotifAlert({ icon: 'success', title: 'Berhasil', - message: `Data Contact berhasil ${ + message: `Data Contact "${formData.name}" berhasil ${ props.actionMode === 'add' ? 'ditambahkan' : 'diperbarui' }.`, });