Skip to content

Commit

Permalink
refactor: Simplify FreenetApiSynchronizer initialization in App compo…
Browse files Browse the repository at this point in the history
…nent
  • Loading branch information
sanity committed Dec 26, 2024
1 parent 60b6d15 commit fef4c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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") }
Expand Down

0 comments on commit fef4c1c

Please sign in to comment.