From 11155b755df4feba571174a071e7a977d88f9f06 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Mon, 1 Jul 2024 13:51:44 +0530 Subject: [PATCH] chore: added deprecation notice --- app/javascript/shared/helpers/clipboard.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/javascript/shared/helpers/clipboard.js b/app/javascript/shared/helpers/clipboard.js index 1af1234ef..6a776e37c 100644 --- a/app/javascript/shared/helpers/clipboard.js +++ b/app/javascript/shared/helpers/clipboard.js @@ -2,6 +2,7 @@ import { emitter } from 'shared/helpers/mitt'; /** * Writes a text string to the system clipboard. + * @deprecated This will be removed in the future. Use `https://vueuse.org/core/useClipboard/` instead. * * @async * @param {string} text text to be written to the clipboard