We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7d7fe68 + e09a6c8 commit 24847b2Copy full SHA for 24847b2
frontend/src/api/students.js
@@ -4,6 +4,7 @@ export const getStudentsByName = async (name) => {
4
const res = await api.get(`/admin/managestudent`, {
5
params: { name },
6
});
7
+ console.log("💬 getStudentsByName 응답:", res.data);
8
return res.data; // [{ id: ..., name: ... }]
9
};
10
frontend/src/pages/admin/ManageStudent.jsx
@@ -56,7 +56,7 @@ const ManageStudent = () => {
56
/>
57
<div className={style.student_list}>
58
{paginatedStudents.map((student, index) => {
59
- console.log("student to show:", student); // 🔍 여기 추가
+ console.log("student to show:", student);
60
return (
61
<button
62
key={student.id || index}
0 commit comments