diff --git a/geneit_app/src/routes/family/FamilyCoupleRoute.tsx b/geneit_app/src/routes/family/FamilyCoupleRoute.tsx index 60186e5..172e870 100644 --- a/geneit_app/src/routes/family/FamilyCoupleRoute.tsx +++ b/geneit_app/src/routes/family/FamilyCoupleRoute.tsx @@ -212,7 +212,7 @@ export function CouplePage(p: { shouldAllowLeaving?: boolean; children?: Member[]; onCancel?: () => void; - onSave?: (m: Couple) => void; + onSave?: (m: Couple) => Promise; onRequestEdit?: () => void; onRequestDelete?: () => void; onForceReload?: () => void; diff --git a/geneit_app/src/routes/family/FamilyMemberRoute.tsx b/geneit_app/src/routes/family/FamilyMemberRoute.tsx index 6e01ee4..7502189 100644 --- a/geneit_app/src/routes/family/FamilyMemberRoute.tsx +++ b/geneit_app/src/routes/family/FamilyMemberRoute.tsx @@ -234,7 +234,7 @@ export function MemberPage(p: { siblings?: Member[]; couples?: Couple[]; onCancel?: () => void; - onSave?: (m: Member) => void; + onSave?: (m: Member) => Promise; onRequestEdit?: () => void; onRequestDelete?: () => void; onForceReload?: () => void;