chore: get event test working

This commit is contained in:
Jonathan Kelley committed 2022-11-27 09:38:40 -05:00
1 parent 565df11f7b
commit 0027cdd938
5 files changed
+263 -214

No files matched your search

+2 -1
View File
@@ -63,7 +63,8 @@ impl<'b: 'static> VirtualDom {
}
TemplateNode::Element { .. } | TemplateNode::Text(_) => {
let this_id = self.next_element(template, &[]);
let this_id = self.next_root(template, root_idx);
template.root_ids[root_idx].set(this_id);
self.mutations.push(LoadTemplate {
name: template.template.id,