From f482c626a6e3472052d13cb0d348323ef4e822a8 Mon Sep 17 00:00:00 2001 From: toSayNothing <91143836+toSayNothing@users.noreply.github.com> Date: Tue, 11 Jan 2022 23:31:26 +0800 Subject: [PATCH] Fix renderer-solid (fix #2336) (#2359) --- .changeset/happy-penguins-wave.md | 5 +++++ packages/renderers/renderer-solid/server.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/happy-penguins-wave.md diff --git a/.changeset/happy-penguins-wave.md b/.changeset/happy-penguins-wave.md new file mode 100644 index 0000000000..bc45a45d7c --- /dev/null +++ b/.changeset/happy-penguins-wave.md @@ -0,0 +1,5 @@ +--- +'@astrojs/renderer-solid': patch +--- + +fix renderer-solid diff --git a/packages/renderers/renderer-solid/server.js b/packages/renderers/renderer-solid/server.js index c8bb33adf0..7c8de39aff 100644 --- a/packages/renderers/renderer-solid/server.js +++ b/packages/renderers/renderer-solid/server.js @@ -19,7 +19,7 @@ function renderToStaticMarkup(Component, props, children) { children: children != null ? ssr(`${children}`) : children, }) ); - return { html: html + `` }; + return { html: html + `` }; } export default {