Simplify navigation to set member photo

This commit is contained in:
Pierre HUBERT 2023-08-31 19:27:14 +02:00
parent 2a69c89065
commit e4a1817d7f
2 changed files with 4 additions and 3 deletions

View File

@ -165,7 +165,8 @@ export function FamilyEditCoupleRoute(): React.ReactElement {
const cancel = () => {
setShouldQuit(true);
n(-1);
n(family.family.coupleURL(couple!));
//n(-1);
};
const save = async (c: Couple) => {

View File

@ -185,8 +185,8 @@ export function FamilyEditMemberRoute(): React.ReactElement {
const cancel = () => {
setShouldQuit(true);
//n(family.family.URL(`member/${member!.id}`));
n(-1);
n(family.family.memberURL(member!));
//n(-1);
};
const save = async (m: Member) => {