feat(FE-438): Add UniformityTable skeleton for empty state

This commit is contained in:
rstubryan
2025-12-26 10:58:27 +07:00
parent 5f3c3be1f3
commit f1227c9dcb
2 changed files with 28 additions and 0 deletions
@@ -22,6 +22,7 @@ import { useModal } from '@/components/Modal';
import ConfirmationModal from '@/components/modal/ConfirmationModal';
import toast from 'react-hot-toast';
import Card from '@/components/Card';
import UniformityTableSkeleton from './skeleton/UniformityTableSkeleton';
const statusColorMap: Record<string, string> = {
APPROVED: 'bg-[#00D39033]',
@@ -414,6 +415,7 @@ const UniformityTable = ({ refresh }: { refresh?: () => void }) => {
bodyColumnClassName:
'px-6 py-3 last:flex last:flex-row last:justify-end',
}}
emptyContent={<UniformityTableSkeleton />}
/>
<ConfirmationModal