forked from CSI-KJSCE/appointment_to_examiner
minor
This commit is contained in:
@@ -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 (
|
||||
<div key={index} style={{ marginBottom: "20px" }}>
|
||||
<h2 style={{ textAlign: "center" }}>{teacher}'s Table</h2>
|
||||
|
||||
Reference in New Issue
Block a user