From 1bcc5343081ec123f08b58d0e97675f8f9a83b33 Mon Sep 17 00:00:00 2001 From: Pramod Mahajan Date: Tue, 6 May 2025 16:06:00 +0530 Subject: [PATCH] added toast for success msg --- src/components/Project/Infrastructure/EditActivityModal.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Project/Infrastructure/EditActivityModal.jsx b/src/components/Project/Infrastructure/EditActivityModal.jsx index ef72a35a..884e7aba 100644 --- a/src/components/Project/Infrastructure/EditActivityModal.jsx +++ b/src/components/Project/Infrastructure/EditActivityModal.jsx @@ -141,7 +141,9 @@ const EditActivityModal = ({ data: newProject, }); resetForm(); - dispatch(refreshData(true)); + dispatch( refreshData( true ) ); + showToast("Activity Updated Successfully","success") + onClose(); } })