Skip to content

Commit

Permalink
FE: [fix] 사후 레포트 UI 수정 #70
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeona01 committed Dec 3, 2024
1 parent 05fe91b commit 5c0ceae
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/frontend/eyesee-admin/src/components/report/ReportSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,17 @@ const ReportSection = ({ reportData }: ReportSectionType) => {
<div>부정행위 탐지율</div>
<div>{reportData.cheatingRate}%</div>
</div>
<div className="w-full flex gap-20 py-3 items-center justify-between text-[20px] text-bold border-b border-white">
<div className="w-full flex gap-20 py-3 items-start justify-between text-[20px] text-bold border-b border-white">
<div>부정행위 유형별 통계</div>
{Object.entries(reportData.cheatingTypeStatistics).map(
([type, count]) => (
<span key={type}>
{type}: {count}{", "}
</span>
)
)}
<div className="flex flex-col gap-2">
{Object.entries(reportData.cheatingTypeStatistics).map(
([type, count]) => (
<span key={type} className="border-b border-gray-500">
{type}: {count}{", "}
</span>
)
)}
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 5c0ceae

Please sign in to comment.