feat: sync codebase with latest radix pattern
This commit is contained in:
@@ -15,7 +15,6 @@ import {
|
||||
|
||||
import { Table, TableBody, TableCell, TableRow } from '@/components/ui/table';
|
||||
import { Skeleton } from '@/components/ui/skeleton';
|
||||
import { TooltipProvider } from '@/components/ui/tooltip';
|
||||
import type { PermissionInput } from '@/hooks/usePermissions';
|
||||
import { PermissionGuard } from '@/guards';
|
||||
|
||||
@@ -247,7 +246,7 @@ function DataTableContent<TData, TValue>({
|
||||
});
|
||||
|
||||
return (
|
||||
<TooltipProvider delayDuration={0}>
|
||||
<>
|
||||
<section className="space-y-4 rounded-lg border bg-card p-4">
|
||||
<TopHeader
|
||||
title={onAddNew ? title : undefined}
|
||||
@@ -346,6 +345,6 @@ function DataTableContent<TData, TValue>({
|
||||
onPageSizeChange={pagination?.onLimitChange}
|
||||
/>
|
||||
</section>
|
||||
</TooltipProvider>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user