Skip to content

Commit

Permalink
Fix #17439 - Prevent event error when user presses enter key during o…
Browse files Browse the repository at this point in the history
…nboarding (#17497)
  • Loading branch information
darkwing authored Jan 31, 2023
1 parent 18a1beb commit 6439d03
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export default function CreatePassword({
};

const handleCreate = async (event) => {
event.preventDefault();
event?.preventDefault();

if (!isValid) {
return;
Expand Down

0 comments on commit 6439d03

Please sign in to comment.