diff --git a/isp-site/src/components/mdtoui.jsx b/isp-site/src/components/mdtoui.jsx index 433d0995..e0fbf36a 100644 --- a/isp-site/src/components/mdtoui.jsx +++ b/isp-site/src/components/mdtoui.jsx @@ -114,11 +114,7 @@ const mdtoui = { if (tasklist && children) { let checked; return ( - + {Children.map(children, (child) => { if (child?.props?.type === "checkbox") checked = child?.props?.checked ?? false; @@ -141,7 +137,7 @@ const mdtoui = { ); } - return ; + return ; })} ); @@ -151,8 +147,8 @@ const mdtoui = { const { children, ...fProps } = props; return ( - {children.map((node, i) => { - return ; + {Children.map(children, (child) => { + return ; })} ); @@ -189,8 +185,8 @@ const mdtoui = { {Children.map(children, (child) => { return ( );