diff --git a/apps/dashboard/src/components/ui/data-table/data-table-skeleton.tsx b/apps/dashboard/src/components/ui/data-table/data-table-skeleton.tsx index 4edf0130..7298f07d 100644 --- a/apps/dashboard/src/components/ui/data-table/data-table-skeleton.tsx +++ b/apps/dashboard/src/components/ui/data-table/data-table-skeleton.tsx @@ -16,8 +16,6 @@ interface DataTableSkeletonProps { rows?: number; } -// TODO: add checkbox skeleton (for MonitorTable e.g.) - export function DataTableSkeleton({ rows = 3 }: DataTableSkeletonProps) { return ( diff --git a/apps/status-page/src/components/ui/data-table/data-table-skeleton.tsx b/apps/status-page/src/components/ui/data-table/data-table-skeleton.tsx index f91f496c..7298f07d 100644 --- a/apps/status-page/src/components/ui/data-table/data-table-skeleton.tsx +++ b/apps/status-page/src/components/ui/data-table/data-table-skeleton.tsx @@ -16,8 +16,6 @@ interface DataTableSkeletonProps { rows?: number; } -// TODO: add checkbox skeleton (for MonitorTable e.g.) - export function DataTableSkeleton({ rows = 3 }: DataTableSkeletonProps) { return (
@@ -39,7 +37,7 @@ export function DataTableSkeleton({ rows = 3 }: DataTableSkeletonProps) { - {new Array(rows).fill(0).map((_, i) => ( + {Array.from({ length: rows }).map((_, i) => (