mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -05:00
[ci] format
This commit is contained in:
parent
5e28b79095
commit
b3a423849b
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ import { hydrate, createComponent } from 'solid-js/web';
|
||||||
export default (element) => (Component, props, childHTML) => {
|
export default (element) => (Component, props, childHTML) => {
|
||||||
// Prepare global object expected by Solid's hydration logic
|
// Prepare global object expected by Solid's hydration logic
|
||||||
if (!window._$HY) {
|
if (!window._$HY) {
|
||||||
window._$HY = { events: [], completed: new WeakSet, r: {} };
|
window._$HY = { events: [], completed: new WeakSet(), r: {} };
|
||||||
}
|
}
|
||||||
// Perform actual hydration
|
// Perform actual hydration
|
||||||
let children;
|
let children;
|
||||||
|
|
Loading…
Add table
Reference in a new issue