import type { MeResponse } from '@features/auth' import { FormField } from '@shared/ui' import { ProfileSection } from '@widgets/profile' import styles from './ProfilePage.module.css' interface Props { data: MeResponse } // Legal-account fields. Organization data lives in the nested `legal_entity` // object; person-level fields are null on these accounts. // All read-only — organization data is managed admin-side, not by the user. export function LegalEntityFields({ data }: Props) { const le = data.legal_entity if (!le) return null return ( <>
) }