refactor(research): update reports component to accept API data as props
This commit is contained in:
parent
7c4d71500c
commit
999f0aab4f
1 changed files with 1 additions and 9 deletions
|
|
@ -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[]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue