diff --git a/src/app/member/[id]/_components/role-kpi-pair.tsx b/src/app/member/[id]/_components/role-kpi-pair.tsx index 4d54772..34f8391 100644 --- a/src/app/member/[id]/_components/role-kpi-pair.tsx +++ b/src/app/member/[id]/_components/role-kpi-pair.tsx @@ -1,6 +1,6 @@ "use client"; -import { KpiCard } from "@/components/metric/kpi-card"; +import { ReadOnlyMetricCard } from "@/app/dashboard/[teamId]/_components/dashboard-metric-card"; import { RoleCard, type RoleCardData } from "@/components/role/role-card"; import { cn } from "@/lib/utils"; import { type RouterOutputs } from "@/trpc/react"; @@ -11,14 +11,9 @@ type DashboardChart = RouterOutputs["dashboard"]["getDashboardCharts"][number]; interface RoleKpiPairProps { role: Role; dashboardChart?: DashboardChart; - teamId: string; } -export function RoleKpiPair({ - role, - dashboardChart, - teamId, -}: RoleKpiPairProps) { +export function RoleKpiPair({ role, dashboardChart }: RoleKpiPairProps) { const roleCardData: RoleCardData = { id: role.id, title: role.title, @@ -41,7 +36,7 @@ export function RoleKpiPair({ return (