Fix wasm build

This commit is contained in:
rewin
2024-01-11 23:09:30 +03:00
parent 9d01036cd2
commit bb102221ef
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -157,6 +157,11 @@ pub fn start_viewer(
},
);
// Only for registering components for undo
use space_editor::prelude::space_undo::AppAutoUndo;
app.auto_reflected_undo::<Transform>();
#[cfg(feature = "wasm")]
wasm::initialize();