diff --git a/ui/src/components/app.rs b/ui/src/components/app.rs index 04a472f..fcc351e 100644 --- a/ui/src/components/app.rs +++ b/ui/src/components/app.rs @@ -17,7 +17,7 @@ pub fn App() -> Element { use_context_provider(|| Signal::new(EditRoomModalSignal { room: None })); use_context_provider(|| Signal::new(CreateRoomModalSignal { show: false })); - let _freenet_api_synchronizer = use_hook(FreenetApiSynchronizer::start); + FreenetApiSynchronizer::start(); rsx! { Stylesheet { href: asset!("./assets/bulma.min.css") }