File tree Expand file tree Collapse file tree 1 file changed +13
-14
lines changed
apps/app/src/app/(app)/[orgId]/trust/components Expand file tree Collapse file tree 1 file changed +13
-14
lines changed Original file line number Diff line number Diff line change 22
33import { DataTable } from '@/components/ui/data-table/DataTable' ;
44import type { AccessRequest } from '@/hooks/use-access-requests' ;
5- import { buildRequestColumns , type RequestTableRow } from './request-columns' ;
5+ import { buildRequestColumns } from './request-columns' ;
66
77interface RequestDataTableProps {
88 data : AccessRequest [ ] ;
@@ -13,19 +13,19 @@ interface RequestDataTableProps {
1313 onPreviewNda : ( row : AccessRequest ) => void ;
1414}
1515
16- export function RequestDataTable ( {
17- data,
18- isLoading,
19- onApprove,
20- onDeny,
21- onResendNda,
22- onPreviewNda
16+ export function RequestDataTable ( {
17+ data,
18+ isLoading,
19+ onApprove,
20+ onDeny,
21+ onResendNda,
22+ onPreviewNda,
2323} : RequestDataTableProps ) {
24- const columns = buildRequestColumns ( {
25- onApprove,
26- onDeny,
27- onResendNda,
28- onPreviewNda
24+ const columns = buildRequestColumns ( {
25+ onApprove,
26+ onDeny,
27+ onResendNda,
28+ onPreviewNda,
2929 } ) ;
3030
3131 return (
@@ -34,7 +34,6 @@ export function RequestDataTable({
3434 columns = { columns }
3535 isLoading = { isLoading }
3636 emptyMessage = "No access requests yet"
37- density = "compact"
3837 />
3938 ) ;
4039}
You can’t perform that action at this time.
0 commit comments