Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions frontend/src/app/components/HealthReport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
{ id: 2, icon: '📝', text: '이번 주 산책 기록이 아직 없습니다', sub: '어제 기준 미입력 3일', color: '#616161', bg: '#F5F5F5', border: '#E0E0E0' },
];

const VisitTooltip = ({ active, payload }: any) => {

Check warning on line 34 in frontend/src/app/components/HealthReport.tsx

View workflow job for this annotation

GitHub Actions / Typecheck / Lint / Build

Unexpected any. Specify a different type
if (active && payload?.length) {
return (
<div className="px-2 py-1 rounded-lg" style={{ backgroundColor: '#0D2B5E', color: 'white', fontSize: '11px', fontWeight: 600 }}>
Expand All @@ -42,7 +42,7 @@
return null;
};

const WalkTooltip = ({ active, payload }: any) => {

Check warning on line 45 in frontend/src/app/components/HealthReport.tsx

View workflow job for this annotation

GitHub Actions / Typecheck / Lint / Build

Unexpected any. Specify a different type
if (active && payload?.length) {
return (
<div className="px-2 py-1 rounded-lg" style={{ backgroundColor: '#0D2B5E', color: 'white', fontSize: '11px', fontWeight: 600 }}>
Expand Down Expand Up @@ -136,10 +136,9 @@
<div className="px-4 space-y-3 pb-3">
{[
{ label: '산책', value: '하루 평균 25분', compare: '권장 대비 83%', compareColor: '#1B4B8C', compareBg: '#E8F0FA', emoji: '🚶' },
{ label: '음수량', value: '하루 평균 180ml', compare: '권장 대비 72%', compareColor: '#F57C00', compareBg: '#FFF8E1', emoji: '💧' },
{ label: '체중', value: '4.2 kg', compare: '지난달 대비 +0.1kg', compareColor: '#FFA726', compareBg: '#FFF8E1', emoji: '⚖️' },
].map((m, i) => (
<div key={i} className="flex items-center gap-3 py-2" style={{ borderBottom: i < 2 ? '1px solid #F5F5F5' : 'none' }}>
<div key={i} className="flex items-center gap-3 py-2" style={{ borderBottom: i < 1 ? '1px solid #F5F5F5' : 'none' }}>
<span style={{ fontSize: '18px', width: '24px', textAlign: 'center' }}>{m.emoji}</span>
<div className="flex-1">
<p style={{ fontSize: '10px', color: '#9E9E9E' }}>{m.label}</p>
Expand Down
Loading
Loading