diff --git a/src/frontend/src/components/previews/AttributeGrid.tsx b/src/frontend/src/components/previews/AttributeGrid.tsx deleted file mode 100644 index 93b7578712..0000000000 --- a/src/frontend/src/components/previews/AttributeGrid.tsx +++ /dev/null @@ -1,41 +0,0 @@ -import { StylishText } from '@lib/components/StylishText'; -import { Divider, Table } from '@mantine/core'; -import type { ReactNode } from 'react'; - -export interface AttributeRow { - label: string; - value: ReactNode | null | undefined; -} - -export function AttributeGrid({ - title, - items -}: Readonly<{ - title: string; - items: AttributeRow[]; -}>) { - const valid = items.filter( - (item) => item.value !== null && item.value !== undefined - ); - - if (valid.length === 0) return null; - - return ( - <> - - {title} - - - {valid.map((item) => ( - - - {item.label} - - {item.value} - - ))} - -
- - ); -}