feat: code quality improvements for core

This commit is contained in:
Jonathan Kelley committed 2021-07-15 04:09:28 -04:00
1 parent 37ed4bed8c
commit 00231adfa2
12 files changed
+124 -758

No files matched your search

+1 -7
View File
@@ -120,13 +120,7 @@ impl<'a> TextRenderer<'a> {
VNodeKind::Component(vcomp) => {
let idx = vcomp.ass_scope.get().unwrap();
let new_node = self
.vdom
.components
.try_get(idx)
.unwrap()
.frames
.current_head_node();
let new_node = self.vdom.components.try_get(idx).unwrap().root();
self.html_render(new_node, f, il + 1)?;
}