lint
All checks were successful
Code quality checks / biome (push) Successful in 11s

This commit is contained in:
Seth 2025-05-19 04:48:17 -04:00
parent 8a87799f20
commit 334e6958ba
2 changed files with 11 additions and 8 deletions

View file

@ -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:")) {

View file

@ -13,14 +13,14 @@ document.body.appendChild(<App />);
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.