refactor(research): update reports component to accept API data as props

This commit is contained in:
anthrodjear 2026-05-08 08:22:57 +03:00
parent 7c4d71500c
commit 999f0aab4f

View file

@ -1,14 +1,6 @@
import { IconCheck, IconClock } from "@tabler/icons-react" import { IconCheck, IconClock } from "@tabler/icons-react"
import { cn } from "@/lib/utils" import { cn } from "@/lib/utils"
import type { ResearchReport } from "@/api/research"
interface ResearchReport {
id: string
title: string
status: "in-progress" | "complete"
timestamp: string
pages?: number
words?: number
}
interface ResearchReportsProps { interface ResearchReportsProps {
reports: ResearchReport[] reports: ResearchReport[]