Skip to content

Commit

Permalink
removed copied to clipboard step
Browse files Browse the repository at this point in the history
  • Loading branch information
aryadevesh committed Oct 5, 2024
1 parent dc5f7fd commit 608096e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/Manager.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,7 @@ const Manager = () => {
for (let i = 0; i < 12; i++) {
const randomChar = allChars[Math.floor(Math.random() * allChars.length)];
generatedPassword += randomChar;
}
// Log the generated password
console.log(generatedPassword);
copyText(generatedPassword);
}
// Set the generated password into the form's password field
setForm((prevForm) => ({ ...prevForm, password: generatedPassword }));
};
Expand Down

0 comments on commit 608096e

Please sign in to comment.