From d5e2973dce617f451e4eb07491b3a6874ea6ca47 Mon Sep 17 00:00:00 2001 From: xuatz Date: Sun, 22 Jun 2025 20:29:30 +0900 Subject: chore: migrate away from eslint to oxlint (#1642) * chore: migrate away from eslint to oxlint * revert turbo task name lint * it seems like we can remove the seemingly default globals --- apps/web/components/ui/copy-button.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/web/components/ui') 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.", -- cgit v1.2.3-70-g09d2