From 88f3c05ec640a2ec8c765953c0789d8da2a4aa49 Mon Sep 17 00:00:00 2001 From: Heli-o Date: Mon, 14 Oct 2024 18:47:22 +0200 Subject: [PATCH] resolved issue? --- quartz/components/CustomFooter.tsx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/quartz/components/CustomFooter.tsx b/quartz/components/CustomFooter.tsx index 205502f..30c6fcb 100644 --- a/quartz/components/CustomFooter.tsx +++ b/quartz/components/CustomFooter.tsx @@ -2,7 +2,7 @@ import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } fro import style from "./styles/customfooter.scss" import btnstyle from "./styles/buttons8831.scss" import FooterLinksConstructor from "./Footer_links" -import Btn8831 from "./Btn8831" +import Btn8831Constructor from "./Btn8831" interface Options { links: Record @@ -11,12 +11,13 @@ interface Options { export default ((opts?: Options) => { const FooterLinks = FooterLinksConstructor(opts) + const Btn8831 = Btn8831Constructor() - const CustomFooter: QuartzComponent = ({ displayClass, cfg }: QuartzComponentProps) => { + const CustomFooter: QuartzComponent = (props: QuartzComponentProps) => { return ( -