diff --git a/frontend/app/trees/[id]/page.tsx b/frontend/app/trees/[id]/page.tsx index cf3f2db..b7907d7 100644 --- a/frontend/app/trees/[id]/page.tsx +++ b/frontend/app/trees/[id]/page.tsx @@ -81,11 +81,15 @@ export default function TreeDetailPage() {
Loading…
; + if (!person) returnNot found.
; + + const relGroup = (label: string, items: Relationship[], otherId: (r: Relationship) => string) => + items.length > 0 && ( +No events yet.
+ ) : ( +No relationships yet.
+ ) : ( +Add more people to the tree to link them.
+ ) : ( + + )} +