From c2b91b97373d8cf78ad460b841b84d753146f08e Mon Sep 17 00:00:00 2001 From: Pramod Mahajan Date: Fri, 11 Apr 2025 15:30:15 +0530 Subject: [PATCH] uncomment api --- src/components/Project/AssignRole.jsx | 3 +-- src/components/master/EditActivity.jsx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/Project/AssignRole.jsx b/src/components/Project/AssignRole.jsx index 41c1e0c5..9ebaa23c 100644 --- a/src/components/Project/AssignRole.jsx +++ b/src/components/Project/AssignRole.jsx @@ -89,8 +89,7 @@ const onSubmit = async(data) => { }; try { - // let response = await TasksRepository.assignTask( formattedData ); - // console.log( response ) + let response = await TasksRepository.assignTask( formattedData ); showToast( "Task Successfully Assigend", "success" ) reset() closeModal() diff --git a/src/components/master/EditActivity.jsx b/src/components/master/EditActivity.jsx index 6f9ea49d..de255d22 100644 --- a/src/components/master/EditActivity.jsx +++ b/src/components/master/EditActivity.jsx @@ -142,7 +142,7 @@ const EditActivity = ({onClose}) => { onClick={() => removeChecklistItem(index)} // Remove button className="btn btn-xs btn-icon btn-text-secondary" > - + {errors.checkList?.[index] && (

{errors.checkList[index]?.message}