diff --git a/src/main.rs b/src/main.rs index 051ed67..100d2b1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -780,7 +780,7 @@ async fn compile(config:CompileConfig)->AResult<()>{ let mut dom=match config.template{ //mr dom doesn't like tokio files Some(template_path)=>load_dom(std::io::BufReader::new(std::fs::File::open(template_path)?))?, - None=>rbx_dom_weak::WeakDom::default(), + None=>rbx_dom_weak::WeakDom::new(rbx_dom_weak::InstanceBuilder::new("DataModel")), }; rox_compiler::compile(rox_compiler::CompileConfig{