From 2498432c0e419681a122955ea2220ee6090461cd 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(); } })