import {UserProfile} from '@app/profile/user-profile'; import clsx from 'clsx'; interface Props { profile?: UserProfile; className?: string; } export function ProfileDescription({profile, className}: Props) { if (!profile) return null; return (
{profile.description && (

{profile.description}

)} {profile.city || profile.country ? (
{(profile.city || profile.country) && (
{profile.city} {profile.city && ','} {profile.country}
)}
) : null}
); }