From ec00a40aefca73596ab76e3ebe3a8e1129b43688 Mon Sep 17 00:00:00 2001
From: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 27 Jan 2026 18:27:17 +0000
Subject: [PATCH] chore(deps): bump the production-dependencies group with 4 updates (#2289)
---
quartz/components/Body.tsx | 14 ++++++--------
1 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/quartz/components/Body.tsx b/quartz/components/Body.tsx
index 0130828..96b6278 100644
--- a/quartz/components/Body.tsx
+++ b/quartz/components/Body.tsx
@@ -1,15 +1,13 @@
-import clipboardScript from './scripts/clipboard.inline'
-import clipboardStyle from './styles/clipboard.scss'
-import { QuartzComponentConstructor, QuartzComponentProps } from "./types"
+// @ts-ignore
+import clipboardScript from "./scripts/clipboard.inline"
+import clipboardStyle from "./styles/clipboard.scss"
+import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "./types"
-function Body({ children }: QuartzComponentProps) {
- return <article>
- {children}
- </article>
+const Body: QuartzComponent = ({ children }: QuartzComponentProps) => {
+ return <div id="quartz-body">{children}</div>
}
Body.afterDOMLoaded = clipboardScript
Body.css = clipboardStyle
export default (() => Body) satisfies QuartzComponentConstructor
-
--
Gitblit v1.10.0