chore: wipe away old src

This commit is contained in:
Jonathan Kelley committed 2022-11-20 15:58:05 -08:00
1 parent 493591400f
commit d407035931
29 files changed
+187 -6819

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@
//! This module provides the primary mechanics to create a hook-based, concurrent VDOM for Rust.
use crate::{
any_props::VComponentProps,
any_props::VProps,
arena::ElementId,
arena::ElementRef,
diff::DirtyScope,
@@ -240,7 +240,7 @@ impl VirtualDom {
finished_fibers: Vec::new(),
};
let root = dom.new_scope(Box::into_raw(Box::new(VComponentProps::new(
let root = dom.new_scope(Box::leak(Box::new(VProps::new(
root,
|_, _| unreachable!(),
root_props,