diff --git a/frontend/src/components/layout/toolbar.rs b/frontend/src/components/layout/toolbar.rs index 6e160d7..b4d504d 100644 --- a/frontend/src/components/layout/toolbar.rs +++ b/frontend/src/components/layout/toolbar.rs @@ -6,7 +6,7 @@ use crate::components::torrent::add_torrent::AddTorrent; pub fn Toolbar( sidenav_state: RwSignal ) -> impl IntoView { - view! { + let header_view = view! {
@@ -18,5 +18,7 @@ pub fn Toolbar(
- }.into_any() + }; + + header_view }