From 999f0aab4f469e68dbac4405371eb22912b9d4ca Mon Sep 17 00:00:00 2001 From: anthrodjear Date: Fri, 8 May 2026 08:22:57 +0300 Subject: [PATCH] refactor(research): update reports component to accept API data as props --- .../src/components/agent/research/research-reports.tsx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/web/frontend/src/components/agent/research/research-reports.tsx b/web/frontend/src/components/agent/research/research-reports.tsx index 00b1e5f2e..6362cfb0b 100644 --- a/web/frontend/src/components/agent/research/research-reports.tsx +++ b/web/frontend/src/components/agent/research/research-reports.tsx @@ -1,14 +1,6 @@ import { IconCheck, IconClock } from "@tabler/icons-react" import { cn } from "@/lib/utils" - -interface ResearchReport { - id: string - title: string - status: "in-progress" | "complete" - timestamp: string - pages?: number - words?: number -} +import type { ResearchReport } from "@/api/research" interface ResearchReportsProps { reports: ResearchReport[]