Skip to content

Commit 45a3999

Browse files
Potential fix for code scanning alert no. 696: Unused variable, import, function or class
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 9e358ad commit 45a3999

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

apps/web/components/admin/settings/tabs/miscellaneous.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,6 @@ export default function MiscellaneousTab() {
101101
loadApiKeys();
102102
}, []);
103103

104-
const copyToClipboard = (text: string) => {
105-
navigator.clipboard.writeText(text);
106-
toast({
107-
title: TOAST_TITLE_SUCCESS,
108-
description: "Webhook URL copied to clipboard",
109-
});
110-
};
111104

112105
const removeApikey = async (keyId: string) => {
113106
const query = `

0 commit comments

Comments
 (0)