From a97e72f2192ebb07c221acd4bb39840d10ac2c49 Mon Sep 17 00:00:00 2001
From: Bartłomiej Garbiec <garbiec@bartek.me>
Date: Mon, 20 May 2024 19:36:32 +0000
Subject: [PATCH] i18n: add Polish translation (#1148)
---
quartz/util/jsx.tsx | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/quartz/util/jsx.tsx b/quartz/util/jsx.tsx
index fc988a0..b525423 100644
--- a/quartz/util/jsx.tsx
+++ b/quartz/util/jsx.tsx
@@ -1,5 +1,4 @@
import { Components, Jsx, toJsxRuntime } from "hast-util-to-jsx-runtime"
-import { QuartzPluginData } from "../plugins/vfile"
import { Node, Root } from "hast"
import { Fragment, jsx, jsxs } from "preact/jsx-runtime"
import { trace } from "./trace"
@@ -13,7 +12,7 @@
),
}
-export function htmlToJsx(fp: FilePath, tree: Node<QuartzPluginData>) {
+export function htmlToJsx(fp: FilePath, tree: Node) {
try {
return toJsxRuntime(tree as Root, {
Fragment,
--
Gitblit v1.10.0