From 1a5f22d302e0a1b0e6bcb377786f21972cec7fd7 Mon Sep 17 00:00:00 2001 From: spinline Date: Sat, 14 Feb 2026 01:34:39 +0300 Subject: [PATCH] fix: resolve persistent type inference error in Toolbar component --- frontend/src/components/layout/toolbar.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 }