Wire Publish rule from create flow

This commit is contained in:
adilallo
2026-04-07 22:26:25 -06:00
parent a4f0b449b6
commit 8f932e95cd
16 changed files with 839 additions and 252 deletions
+9 -2
View File
@@ -103,7 +103,7 @@ export default function LoginForm({
}
return;
}
if (isSaveProgress) {
if (isSaveProgress || nextPath.includes("syncDraft=1")) {
setTransferPendingFlag();
}
setEmail(trimmed);
@@ -113,7 +113,14 @@ export default function LoginForm({
} finally {
setSubmitting(false);
}
}, [email, isSaveProgress, magicLinkNextPath, nextParam, stripErrorQuery, t]);
}, [
email,
isSaveProgress,
magicLinkNextPath,
nextParam,
stripErrorQuery,
t,
]);
const urlErrorMessage =
errorParam === "expired_link"