Trim off 150 deps for examples

This commit is contained in:
Jonathan Kelley committed 2024-01-18 12:32:01 -08:00
1 parent c59a2fb829
commit 451a2b6cfc
20 files changed
+297 -641

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ pub fn launch_virtual_dom(virtual_dom: VirtualDom, desktop_config: Config) {
/// Launches the WebView and runs the event loop, with configuration and root props.
pub fn launch(
root: fn() -> Element,
contexts: Vec<Box<dyn Fn() -> Box<dyn Any> + Send>>,
contexts: Vec<Box<dyn Fn() -> Box<dyn Any>>>,
platform_config: Config,
) {
let mut virtual_dom = VirtualDom::new(root);