fix: prefix unused props in LinkCardHandler

Renamed displayClass and cfg props in LinkCardHandler to _displayClass and _cfg to explicitly indicate they are intentionally unused.
This commit is contained in:
tsumac 2025-06-15 22:19:28 +09:00
parent 668bb8b01a
commit 3d93f64c92

View File

@ -2,7 +2,7 @@
import linkCardScript from "./scripts/linkcard.inline" import linkCardScript from "./scripts/linkcard.inline"
import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "./types" import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "./types"
const LinkCardHandler: QuartzComponent = ({ displayClass, cfg }: QuartzComponentProps) => { const LinkCardHandler: QuartzComponent = ({ displayClass: _displayClass, cfg:_cfg }: QuartzComponentProps) => {
return <></> return <></>
} }