From 74a60282a5549f25f45c6a62bf4088d1b40500d4 Mon Sep 17 00:00:00 2001 From: pradyun Date: Fri, 28 Apr 2023 20:12:37 +1200 Subject: [PATCH] Added transient property to copied password --- src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index a92b64a..d19785e 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -3,7 +3,7 @@ import { randomInt } from "crypto"; export default async function Command() { const pass = generate(); - await Clipboard.copy(pass); + await Clipboard.copy(pass, { transient: true }); await showHUD("Password copied to clipboard"); }