Fix cargo test and a number of little cleanup bugs
This commit is contained in:
49 files changed
+307
-309
No files matched your search
@@ -28,8 +28,7 @@ pub fn launch_virtual_dom(vdom: VirtualDom, platform_config: Config) {
|
||||
});
|
||||
}
|
||||
|
||||
///
|
||||
/// Launch the web application with the given root component and config
|
||||
pub fn launch_cfg(root: fn() -> Element, platform_config: Config) {
|
||||
let mut vdom = VirtualDom::new(root);
|
||||
launch_virtual_dom(vdom, platform_config);
|
||||
launch_virtual_dom(VirtualDom::new(root), platform_config);
|
||||
}
|
||||
Reference in new issue
Block a user