From fd8f0fcecfa398e3ee9ec0854986567312668db3 Mon Sep 17 00:00:00 2001 From: lingdocs <71590811+lingdocs@users.noreply.github.com> Date: Thu, 24 Jun 2021 13:50:06 +0400 Subject: [PATCH] cleanup --- src/lib/jsx-map.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/jsx-map.tsx b/src/lib/jsx-map.tsx index f05e406..1355d56 100644 --- a/src/lib/jsx-map.tsx +++ b/src/lib/jsx-map.tsx @@ -68,7 +68,7 @@ export function JSXMap(e: JSX.Element, f: (s: string) => string): JSX.Element { ...e.props, children: typeof e.props.children === "string" ? f(e.props.children) - : e.props.children.map((x: string | JSX.Element, i: number) => { + : e.props.children.map((x: string | JSX.Element) => { if (typeof x === "string") { return f(x); }