Add comment

This commit is contained in:
Eric Fennis
2023-05-10 00:13:22 +02:00
parent ce16c3c569
commit a263c13652
@@ -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');