From bc4699997533bf99de95244d8b0a1e1a336ade7d Mon Sep 17 00:00:00 2001 From: spinline Date: Sat, 14 Feb 2026 01:32:05 +0300 Subject: [PATCH] fix: resolve type inference errors in app.rs and silence unused variable warnings in context menu --- frontend/src/app.rs | 14 +++++++------- frontend/src/components/ui/context_menu.rs | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/src/app.rs b/frontend/src/app.rs index b1ed5df..c13040b 100644 --- a/frontend/src/app.rs +++ b/frontend/src/app.rs @@ -100,7 +100,7 @@ fn InnerApp() -> impl IntoView { view! {
- "404 Not Found"
}> + "404 Not Found" }.into_any()> impl IntoView { } }); - view! { } + view! { }.into_any() } /> impl IntoView { } }); - view! { } + view! { }.into_any() } /> impl IntoView { - } + }.into_any() }> @@ -174,7 +174,7 @@ fn InnerApp() -> impl IntoView { - } + }.into_any() }/> impl IntoView { view! { - +
"Settings Page (Coming Soon)"
- } + }.into_any() }/>
diff --git a/frontend/src/components/ui/context_menu.rs b/frontend/src/components/ui/context_menu.rs index 42c1978..e78780a 100644 --- a/frontend/src/components/ui/context_menu.rs +++ b/frontend/src/components/ui/context_menu.rs @@ -139,7 +139,7 @@ pub fn ContextMenuTrigger( class=trigger_class data-name="ContextMenuTrigger" data-context-trigger=ctx.target_id - on:contextmenu=move |e: web_sys::MouseEvent| { + on:contextmenu=move |_e: web_sys::MouseEvent| { if let Some(cb) = on_open { cb.run(()); }