diff --git a/docs/.vitepress/api/gh-icon/[...data].get.ts b/docs/.vitepress/api/gh-icon/[...data].get.ts index 725db4848..deb0ba94b 100644 --- a/docs/.vitepress/api/gh-icon/[...data].get.ts +++ b/docs/.vitepress/api/gh-icon/[...data].get.ts @@ -29,6 +29,7 @@ export default eventHandler((event) => { } const svg = Buffer.from( + // We can't use jsx here, is not supported here by nitro. renderToString(createElement(SvgPreview, {src, showGrid: true}, children)) ).toString('utf8');