-
+
+
))}
diff --git a/apps/web/src/app/(dashboard)/documents/data-table.tsx b/apps/web/src/app/(dashboard)/documents/data-table.tsx
index 1019dd0cb..efcf93794 100644
--- a/apps/web/src/app/(dashboard)/documents/data-table.tsx
+++ b/apps/web/src/app/(dashboard)/documents/data-table.tsx
@@ -63,7 +63,7 @@ export const DocumentsDataTable = ({ results }: DocumentsDataTableProps) => {
{
header: 'Actions',
accessorKey: 'actions',
- cell: () => ,
+ cell: ({ row }) => ,
},
]}
data={results.data}
diff --git a/apps/web/src/components/(dashboard)/table/actions-component.tsx b/apps/web/src/components/(dashboard)/table/actions-component.tsx
index 299a37fda..47fc89f2e 100644
--- a/apps/web/src/components/(dashboard)/table/actions-component.tsx
+++ b/apps/web/src/components/(dashboard)/table/actions-component.tsx
@@ -4,28 +4,28 @@ import React from 'react';
import { Download, Edit, Trash } from 'lucide-react';
-export function ActionButtons() {
+export function ActionButtons({ documentId }: { documentId: number }) {
return (
{
- console.log('Edit Button');
+ console.log('Edit Document with id: ', documentId);
}}
/>
{
- console.log('Download Button');
+ console.log('Download Document with id: ', documentId);
}}
/>
{
- console.log('Delete Button');
+ console.log('Delete Document with id: ', documentId);
}}
/>