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); }