import { useTranslation } from "react-i18next" import { PlaceholderCell } from "../../common/placeholder-cell" type NameCellProps = { name?: string | null } export const NameCell = ({ name }: NameCellProps) => { if (!name) { return } return (
{name}
) } export const NameHeader = () => { const { t } = useTranslation() return (
{t("fields.name")}
) }