// frontend/components/dashboard/GoalsCard.tsx import { Icon } from "@/components/Icon"; import type { DashGoal } from "@/lib/types"; export function GoalsCard({ goals }: { goals: DashGoal[] }) { return (

목표

{goals.map((g) => (
{g.title} {g.pct}%
{g.sub}
))}
); }