"use client"; import { useAuth } from "@/components/AuthProvider"; import { en } from "@/lib/i18n/en"; import { getDisplayName } from "@/lib/userName"; import styles from "./CustomerHome.module.css"; export default function CustomerProfile() { const { user } = useAuth(); return (

{en.customerProfile.title}

{en.customerProfile.lead}

{en.customerProfile.name}
{getDisplayName(user)}
{en.customerProfile.phone}
{user?.cellNumber || "—"}
{en.customerProfile.email}
{user?.email?.trim() || en.customerProfile.emptyEmail}
); }