diff --git a/components/ui/custom/custom-alert-modal.tsx b/components/ui/custom/custom-alert-modal.tsx index bd93c6839b..4da8ba284d 100644 --- a/components/ui/custom/custom-alert-modal.tsx +++ b/components/ui/custom/custom-alert-modal.tsx @@ -4,9 +4,10 @@ import React, { ReactNode } from "react"; interface CustomAlertModalProps { isOpen: boolean; onOpenChange: (isOpen: boolean) => void; - title: string; - description: string; + title?: string; + description?: string; children: ReactNode; + className?: string; } export const CustomAlertModal: React.FC = ({ @@ -15,13 +16,14 @@ export const CustomAlertModal: React.FC = ({ title, description, children, + className, }) => { return ( diff --git a/components/ui/table/data-table.tsx b/components/ui/table/data-table.tsx index ad5a866a01..4577f1bf08 100644 --- a/components/ui/table/data-table.tsx +++ b/components/ui/table/data-table.tsx @@ -106,9 +106,11 @@ export function DataTable({ -
- -
+ {metadata && ( +
+ +
+ )} ); }