Switched Collab to notaire

This commit is contained in:
Vins 2025-01-22 16:52:17 +01:00
parent ee95fed48b
commit d2004b6308

View File

@ -20,7 +20,7 @@ export default function ContactBox(props: IProps) {
const notaryContact = useMemo(
() =>
folder?.stakeholders!.find((stakeholder) => stakeholder.office_role?.name === "Collaborateur")?.contact ??
folder?.stakeholders!.find((stakeholder) => stakeholder.office_role?.name === "Notaire")?.contact ??
folder?.stakeholders![0]!.contact,
[folder],
);