diff --git a/ui/pages/onboarding-flow/create-password/create-password.js b/ui/pages/onboarding-flow/create-password/create-password.js index 4b10be84e5a4..78eef545a5d3 100644 --- a/ui/pages/onboarding-flow/create-password/create-password.js +++ b/ui/pages/onboarding-flow/create-password/create-password.js @@ -133,7 +133,7 @@ export default function CreatePassword({ }; const handleCreate = async (event) => { - event.preventDefault(); + event?.preventDefault(); if (!isValid) { return;