Switched Collab to notaire
This commit is contained in:
parent
ee95fed48b
commit
d2004b6308
@ -20,7 +20,7 @@ export default function ContactBox(props: IProps) {
|
|||||||
|
|
||||||
const notaryContact = useMemo(
|
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?.stakeholders![0]!.contact,
|
||||||
[folder],
|
[folder],
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user