From 0ecb859d2d826f1813b49e2b63fa37d1e7151a1d Mon Sep 17 00:00:00 2001
From: Marco Ciotola <McCio@users.noreply.github.com>
Date: Sun, 02 Nov 2025 10:35:23 +0000
Subject: [PATCH] feat(i18n): update Italian translations for coherency (#2189)
---
quartz/components/Body.tsx | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/quartz/components/Body.tsx b/quartz/components/Body.tsx
index 6b1f234..96b6278 100644
--- a/quartz/components/Body.tsx
+++ b/quartz/components/Body.tsx
@@ -1,16 +1,13 @@
// @ts-ignore
-import clipboardScript from './scripts/clipboard.inline'
-import clipboardStyle from './styles/clipboard.scss'
-import { QuartzComponentConstructor, QuartzComponentProps } from "./types"
+import clipboardScript from "./scripts/clipboard.inline"
+import clipboardStyle from "./styles/clipboard.scss"
+import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "./types"
-function Body({ children }: QuartzComponentProps) {
- return <div id="quartz-body">
- {children}
- </div>
+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