mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
parent
c029cbb2d1
commit
f482c626a6
2 changed files with 6 additions and 1 deletions
5
.changeset/happy-penguins-wave.md
Normal file
5
.changeset/happy-penguins-wave.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@astrojs/renderer-solid': patch
|
||||
---
|
||||
|
||||
fix renderer-solid
|
|
@ -19,7 +19,7 @@ function renderToStaticMarkup(Component, props, children) {
|
|||
children: children != null ? ssr(`<astro-fragment>${children}</astro-fragment>`) : children,
|
||||
})
|
||||
);
|
||||
return { html: html + `<script>window._$HYDRATION||(window._$HYDRATION={events:[],completed:new WeakSet})</script>` };
|
||||
return { html: html + `<script>window._$HY||(_$HY={events:[],completed:new WeakSet,r:{}})</script>` };
|
||||
}
|
||||
|
||||
export default {
|
||||
|
|
Loading…
Reference in a new issue