From f58d91a70bc7e9d08229b1eec7c4af657ac6003c Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Sat, 23 May 2026 15:13:00 +0200 Subject: [PATCH] fix(lint): drop redundant ok=false in clipboard fallback catch --- frontend/src/utils/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/utils/index.js b/frontend/src/utils/index.js index ffc89a5f..97370f46 100644 --- a/frontend/src/utils/index.js +++ b/frontend/src/utils/index.js @@ -576,7 +576,7 @@ export class ClipboardManager { textarea.setSelectionRange(0, text.length); ok = document.execCommand('copy'); } catch { - ok = false; + /* keep ok as false */ } host.removeChild(textarea);