import { HttpTypes } from "@medusajs/types" import { useTranslation } from "react-i18next" export const CustomerCell = ({ customer, }: { customer?: HttpTypes.AdminCustomer | null }) => { if (!customer) { return - } const { first_name, last_name, email } = customer const name = [first_name, last_name].filter(Boolean).join(" ") return (