Skip to content

Commit 2c3e370

Browse files
authored
Merge pull request #204 from pirogramming/frontend_admin_sj
디버깅용 콘솔
2 parents 5a2251e + 8c8b4a1 commit 2c3e370

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

frontend/src/components/AdminWeeklyAttendanceList.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ const AdminWeeklyAttendanceList = ({ attendanceData, onSelectDate }) => {
1919
<img key={idx}
2020
src={statusImageMap[cls.status]}
2121
style={{ cursor: "pointer" }}
22-
onClick={() => cls.date && onSelectDate(cls.date)}
22+
onClick={() => {
23+
console.log("🧪 클릭됨!", cls.date);
24+
cls.date && onSelectDate(cls.date);
25+
}}
2326
/>
2427
))}
2528
</div>

frontend/src/pages/admin/AdminStudentAttendance.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const AdminStudentAttendance = () => {
8383

8484
weekSlotMap.set(week, [...existing, ...statuses]);
8585
dateMap.set(week, [...existingDates, date]);
86-
86+
8787
});
8888

8989
return Array.from({ length: 5 }, (_, i) => {

0 commit comments

Comments
 (0)