Merge pull request #16 from nightbug-xx/mct40z-codex/친구정보-출력-문제-수정
Add friend dashboard page
This commit is contained in:
commit
3707fda83a
@ -23,7 +23,7 @@ interface Homework {
|
||||
title: string
|
||||
reset_type: string
|
||||
clear_count: number
|
||||
complete_cnt?: number
|
||||
complete_cnt: number
|
||||
}
|
||||
|
||||
export default function FriendCharacterDashboard() {
|
||||
@ -83,7 +83,7 @@ export default function FriendCharacterDashboard() {
|
||||
{Array.from({ length: hw.clear_count }).map((_, idx) => (
|
||||
<Checkbox
|
||||
key={idx}
|
||||
checked={idx < (hw.complete_cnt ?? 0)}
|
||||
checked={idx < hw.complete_cnt}
|
||||
disabled
|
||||
size="small"
|
||||
/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user