diff --git a/docs/.vitepress/lib/SvgPreview/index.tsx b/docs/.vitepress/lib/SvgPreview/index.tsx index 8dfe3c9d6..f14523e6e 100644 --- a/docs/.vitepress/lib/SvgPreview/index.tsx +++ b/docs/.vitepress/lib/SvgPreview/index.tsx @@ -183,18 +183,40 @@ const Radii = ({ >) => { return ( - {paths - .filter(({ circle }) => circle) - .map(({ c, prev, next, circle: { x, y, r } }) => - c.name === 'circle' ? ( - - ) : ( - <> - - - - ) - )} + {paths.map( + ({ c, prev, next, circle }, i) => + circle && ( + + {c.name !== "circle" && ( + + )} + + + + ), + )} ); };