Simplify navigation to set member photo
This commit is contained in:
parent
2a69c89065
commit
e4a1817d7f
@ -165,7 +165,8 @@ export function FamilyEditCoupleRoute(): React.ReactElement {
|
|||||||
|
|
||||||
const cancel = () => {
|
const cancel = () => {
|
||||||
setShouldQuit(true);
|
setShouldQuit(true);
|
||||||
n(-1);
|
n(family.family.coupleURL(couple!));
|
||||||
|
//n(-1);
|
||||||
};
|
};
|
||||||
|
|
||||||
const save = async (c: Couple) => {
|
const save = async (c: Couple) => {
|
||||||
|
@ -185,8 +185,8 @@ export function FamilyEditMemberRoute(): React.ReactElement {
|
|||||||
|
|
||||||
const cancel = () => {
|
const cancel = () => {
|
||||||
setShouldQuit(true);
|
setShouldQuit(true);
|
||||||
//n(family.family.URL(`member/${member!.id}`));
|
n(family.family.memberURL(member!));
|
||||||
n(-1);
|
//n(-1);
|
||||||
};
|
};
|
||||||
|
|
||||||
const save = async (m: Member) => {
|
const save = async (m: Member) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user