diff --git a/packages/smarthr-ui/src/components/Table/EmptyTableBody.tsx b/packages/smarthr-ui/src/components/Table/EmptyTableBody.tsx index cf0fa639f8..3d809a06bf 100644 --- a/packages/smarthr-ui/src/components/Table/EmptyTableBody.tsx +++ b/packages/smarthr-ui/src/components/Table/EmptyTableBody.tsx @@ -3,8 +3,6 @@ import React, { ComponentPropsWithRef, PropsWithChildren, useMemo } from 'react' import { tv } from 'tailwind-variants' -import { Center } from '../Layout' - import { Td } from './Td' import { useTableHeadCellCount } from './useTableHeadCellCount' @@ -19,7 +17,7 @@ type Props = PropsWithChildren<{ type ElementProps = Omit, keyof Props> const emptyTableBodyCell = tv({ - base: '', + base: 'shr-text-center', variants: { paddingBlock: { 0: 'shr-py-0', @@ -93,7 +91,7 @@ export const EmptyTableBody: React.FC = ({ children, paddi -
{children}
+ {children}