import { useTranslation } from "react-i18next"; export default function RowCreatedByCell({ user, apiKey, }: { user?: { firstName: string; lastName: string; email: string } | null; apiKey?: { alias: string } | null; }) { const { t } = useTranslation(); return (
{user ? (
{user?.firstName} {user?.lastName}
{user?.email}
) : apiKey ? (
{t("models.apiKey.object")}: {apiKey.alias}
) : (
)}
); }