mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-09 07:28:09 -05:00
Small fix on PasswordGeneratorModal useMemo
This commit is contained in:
@@ -83,14 +83,7 @@ const PasswordGeneratorModal = ({
|
||||
|
||||
const password = useMemo(() => {
|
||||
return generatePassword();
|
||||
}, [
|
||||
passwordOptions.length,
|
||||
passwordOptions.useUppercase,
|
||||
passwordOptions.useLowercase,
|
||||
passwordOptions.useNumbers,
|
||||
passwordOptions.useSpecialChars,
|
||||
refresh
|
||||
]);
|
||||
}, [passwordOptions, refresh]);
|
||||
|
||||
const copyToClipboard = () => {
|
||||
navigator.clipboard
|
||||
|
||||
Reference in New Issue
Block a user