Fix context type in static generation crate (#2607)

This commit is contained in:
Evan Almloff authored and GitHub committed 2024-07-10 12:42:33 -07:00
1 parent c47d7da070
commit f07ab370b9
2 files changed
+2 -3

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ pub use crate::Config;
#[allow(unused)]
pub fn launch(
root: fn() -> Element,
contexts: Vec<Box<dyn Fn() -> Box<dyn Any> + Send + Sync>>,
contexts: Vec<Box<dyn Fn() -> Box<dyn Any + Send + Sync> + Send + Sync>>,
platform_config: Config,
) {
let virtual_dom_factory = move || {