diff --git a/sites/public/src/pages/applications/start/autofill.tsx b/sites/public/src/pages/applications/start/autofill.tsx index 0bac214791..1a0f995c0a 100644 --- a/sites/public/src/pages/applications/start/autofill.tsx +++ b/sites/public/src/pages/applications/start/autofill.tsx @@ -67,21 +67,23 @@ export default () => { useEffect(() => { if (!previousApplication && initialStateLoaded) { - if (profile) { - void applicationsService - .mostRecentlyCreated({ - userId: profile.id, - }) - .then((res) => { - if (res && res.applicant) { - setPreviousApplication(new AutofillCleaner(res).clean()) - } else { - onSubmit() - } - }) - } else { - onSubmit() - } + // Temporarily turning autofill off + // if (profile) { + // void applicationsService + // .mostRecentlyCreated({ + // userId: profile.id, + // }) + // .then((res) => { + // if (res && res.applicant) { + // setPreviousApplication(new AutofillCleaner(res).clean()) + // } else { + // onSubmit() + // } + // }) + // } else { + // onSubmit() + // } + onSubmit() } }, [profile, applicationsService, onSubmit, previousApplication, initialStateLoaded])