From 334e6958ba0d04700e5ba1b97d392c87c0d9bb11 Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 19 May 2025 04:48:17 -0400 Subject: [PATCH] lint --- src/front/components/Lanyard/index.tsx | 5 ++++- src/front/index.tsx | 14 +++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/front/components/Lanyard/index.tsx b/src/front/components/Lanyard/index.tsx index 3e6ada6..55ecc77 100644 --- a/src/front/components/Lanyard/index.tsx +++ b/src/front/components/Lanyard/index.tsx @@ -23,7 +23,10 @@ const getImageUrl = (activity: LanyardActivity, size: "large" | "small") => { if (!image) return null; if (image.startsWith("mp:external")) { - return `https://wsrv.nl/?w=${size === "large" ? 120 : 40}&url=https://${image.split("/").slice(3).join("/")}`.replace("1280x1280", "160x160"); // last bit assumes tidal. + return `https://wsrv.nl/?w=${size === "large" ? 120 : 40}&url=https://${image.split("/").slice(3).join("/")}`.replace( + "1280x1280", + "160x160", + ); // last bit assumes tidal. } if (image.startsWith("mp:")) { diff --git a/src/front/index.tsx b/src/front/index.tsx index 85bad63..7275b1d 100644 --- a/src/front/index.tsx +++ b/src/front/index.tsx @@ -13,14 +13,14 @@ document.body.appendChild(); let clicks = 0; let resetCount = ""; document.onclick = () => { - clicks++; + clicks++; - if (clicks > 5) { - snacker({ - message: `Please stop.${resetCount}`, - }); - resetCount += "."; - } + if (clicks > 5) { + snacker({ + message: `Please stop.${resetCount}`, + }); + resetCount += "."; + } }; // You're garbage, let me collect you.