diff --git a/client/src/Pages/ConsolidatedTable.jsx b/client/src/Pages/ConsolidatedTable.jsx index 9d7e9c1..65ae7fc 100644 --- a/client/src/Pages/ConsolidatedTable.jsx +++ b/client/src/Pages/ConsolidatedTable.jsx @@ -181,7 +181,7 @@ const ConsolidatedTable = () => { const handleSendEmail = async (teacher, teacherData) => { const facultyId = teacherData[0].facultyId; // This assumes all rows for a teacher have the same facultyId - + console.log(facultyId); try { // Fetch email from the backend const response = await axios.get( @@ -325,7 +325,6 @@ const ConsolidatedTable = () => { > {uniqueTeachers.map((teacher, index) => { const teacherData = data.filter((row) => row.Name === teacher); - return (