@ -34,9 +34,11 @@ const AssignHrProject = ({ openDialog, closeDialog, toggleDialog, idTask, toolsR
}, [openDialog]);
useEffect(() => {
if (dataUserToProject.length > 0) {
getDataUser();
getDataProjectRole();
}, [])
}
}, [dataUserToProject])
const getDataAssignHr = async () => {
const payload = {