diff --git a/src/components/tools/PasswordGen.vue b/src/components/tools/PasswordGen.vue
index b8f5a6d..fd16637 100644
--- a/src/components/tools/PasswordGen.vue
+++ b/src/components/tools/PasswordGen.vue
@@ -25,7 +25,7 @@
History
{{ pw }}
-
+
@@ -60,4 +60,8 @@ async function generate(): Promise {
function copy(): void {
navigator.clipboard.writeText(password.value).catch(() => {});
}
+
+function copyText(text: string): void {
+ navigator.clipboard.writeText(text).catch(() => {});
+}