aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/ui/copy-button.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/components/ui/copy-button.tsx')
-rw-r--r--apps/web/components/ui/copy-button.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/components/ui/copy-button.tsx b/apps/web/components/ui/copy-button.tsx
index 1cb405da..8d8699f8 100644
--- a/apps/web/components/ui/copy-button.tsx
+++ b/apps/web/components/ui/copy-button.tsx
@@ -54,7 +54,7 @@ export function CopyBtnV2({
await navigator.clipboard.writeText(url);
setCopied(true);
setTimeout(() => setCopied(false), 2000);
- } catch (err) {
+ } catch {
toast({
description:
"Failed to copy link. Browsers only support copying to the clipboard from https pages.",