This commit is contained in:
counterweight 2025-02-20 23:13:33 +01:00
parent 3154a8511a
commit c38feef86f
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C

View file

@ -151,7 +151,7 @@ const checkIfSubmittable = debounce((allInputs) => {
const buttonShouldBeDisabled = !(nymIsFilled && atLeastOneContactIsFilled); const buttonShouldBeDisabled = !(nymIsFilled && atLeastOneContactIsFilled);
submitProfileButton.disabled = buttonShouldBeDisabled; submitProfileButton.disabled = buttonShouldBeDisabled;
}, 1000); }, 500);
async function createProfile(allInputs) { async function createProfile(allInputs) {
const contactDetails = []; const contactDetails = [];
@ -181,6 +181,10 @@ async function createProfile(allInputs) {
}, },
body: JSON.stringify({ nym }), body: JSON.stringify({ nym }),
}); });
setTimeout(() => {
window.location.href = '/home';
}, 1000);
} }
function onLoadErrands(allInputs, submitProfileButton) { function onLoadErrands(allInputs, submitProfileButton) {