chore: fix linting and build errors
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 5s
Build & Deploy / 🧪 QA (push) Failing after 1m31s
Build & Deploy / 🏗️ Build (push) Failing after 3m51s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🩺 Health Check (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 5s
Build & Deploy / 🧪 QA (push) Failing after 1m31s
Build & Deploy / 🏗️ Build (push) Failing after 3m51s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🩺 Health Check (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
/* eslint-disable react/prop-types */
|
||||
import type {
|
||||
ThumbnailIcon,
|
||||
BlogThumbnailConfig,
|
||||
} from "./blogThumbnails";
|
||||
import { blogThumbnails } from "./blogThumbnails";
|
||||
|
||||
@@ -602,7 +601,7 @@ function renderGear(cx: number, cy: number, accent: string) {
|
||||
const angle = (i * 2 * Math.PI) / teeth;
|
||||
const a1 = angle - toothWidth;
|
||||
const a2 = angle + toothWidth;
|
||||
const midAngle = (a1 + a2) / 2;
|
||||
const _midAngle = (a1 + a2) / 2;
|
||||
|
||||
if (i === 0) {
|
||||
d += `M ${cx + outerR * Math.cos(a1)} ${cy + outerR * Math.sin(a1)} `;
|
||||
@@ -954,7 +953,7 @@ function renderSync(cx: number, cy: number, accent: string) {
|
||||
|
||||
const iconRenderers: Record<
|
||||
ThumbnailIcon,
|
||||
(cx: number, cy: number, accent: string) => React.ReactNode
|
||||
(_cx: number, _cy: number, _accent: string) => React.ReactNode
|
||||
> = {
|
||||
gauge: renderGauge,
|
||||
bottleneck: renderBottleneck,
|
||||
|
||||
Reference in New Issue
Block a user