fix(frontend): remove loading spinner on app mount

This commit is contained in:
spinline
2026-01-31 14:44:51 +03:00
parent 202ee1340b
commit 0cf5841023
2 changed files with 7 additions and 1 deletions

View File

@@ -12,5 +12,11 @@ pub fn main() {
console_error_panic_hook::set_once();
console_log::init_with_level(log::Level::Debug).unwrap();
let window = web_sys::window().unwrap();
let document = window.document().unwrap();
if let Some(loader) = document.get_element_by_id("app-loading") {
loader.remove();
}
mount_to_body(|| view! { <App/> })
}