From 29886411626521615e7992ea0202ec92b6e9a1a7 Mon Sep 17 00:00:00 2001 From: spinline Date: Sat, 14 Feb 2026 01:33:22 +0300 Subject: [PATCH] fix: resolve type inference in toolbar and cleanup unused imports in sidenav --- frontend/src/components/layout/toolbar.rs | 2 +- frontend/src/components/ui/sidenav.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/components/layout/toolbar.rs b/frontend/src/components/layout/toolbar.rs index e0c31ca..6e160d7 100644 --- a/frontend/src/components/layout/toolbar.rs +++ b/frontend/src/components/layout/toolbar.rs @@ -18,5 +18,5 @@ pub fn Toolbar( - } + }.into_any() } diff --git a/frontend/src/components/ui/sidenav.rs b/frontend/src/components/ui/sidenav.rs index fb6e36d..fb54612 100644 --- a/frontend/src/components/ui/sidenav.rs +++ b/frontend/src/components/ui/sidenav.rs @@ -1,5 +1,4 @@ use leptos::prelude::*; -use leptos_router::hooks::use_location; use leptos_ui::{clx, variants, void}; mod components {