Skip to content

Commit

Permalink
feat: 마이페이지 표 확인용 console 출력
Browse files Browse the repository at this point in the history
  • Loading branch information
cjy3458 committed May 3, 2024
1 parent a696c03 commit a46191e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/mypage/MyScoreSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ const MyScoreSection = ({ userProfile }: { userProfile: UserProfile }) => {
);

useEffect(() => {
console.log('출석 데이터:', userAttendance);
console.log('과제 데이터:', userAssignment);
if (userAttendance && userAssignment) {
console.log(userAttendance);
console.log(userAssignment);
const score = getTotalScore({
absence: userAttendance.absence,
truancy: userAttendance.truancy,
Expand Down

0 comments on commit a46191e

Please sign in to comment.