mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-23 12:54:06 -06:00
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:
parent
668bb8b01a
commit
3d93f64c92
@ -2,7 +2,7 @@
|
||||
import linkCardScript from "./scripts/linkcard.inline"
|
||||
import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "./types"
|
||||
|
||||
const LinkCardHandler: QuartzComponent = ({ displayClass, cfg }: QuartzComponentProps) => {
|
||||
const LinkCardHandler: QuartzComponent = ({ displayClass: _displayClass, cfg:_cfg }: QuartzComponentProps) => {
|
||||
return <></>
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user