mirror of
https://github.com/MercuryWorkshop/dreamlandjs.git
synced 2025-05-16 23:50:00 -04:00
woops && bump version
This commit is contained in:
parent
4c0a89b462
commit
f7bdf8dcfd
2 changed files with 2 additions and 2 deletions
2
js.js
2
js.js
|
@ -167,7 +167,7 @@ export function h(type, props, ...children) {
|
|||
|
||||
newthis.children = [];
|
||||
for (const child of children) {
|
||||
JSXAddChild(child, newthis.children.push.bind(slot));
|
||||
JSXAddChild(child, newthis.children.push.bind(newthis.children));
|
||||
}
|
||||
|
||||
let elm = type.apply(newthis);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue