From 8f16265107c49b7dde6c8c0b8f2362f1183a3467 Mon Sep 17 00:00:00 2001 From: spinline Date: Tue, 3 Feb 2026 22:30:43 +0300 Subject: [PATCH] chore(frontend): remove unused imports and variables --- frontend/src/components/layout/statusbar.rs | 23 ++- frontend/src/components/torrent/table.rs | 187 ++++++++++++-------- 2 files changed, 121 insertions(+), 89 deletions(-) diff --git a/frontend/src/components/layout/statusbar.rs b/frontend/src/components/layout/statusbar.rs index 369ba09..296eaeb 100644 --- a/frontend/src/components/layout/statusbar.rs +++ b/frontend/src/components/layout/statusbar.rs @@ -1,5 +1,4 @@ use leptos::*; -use wasm_bindgen::JsCast; #[component] pub fn StatusBar() -> impl IntoView { @@ -34,10 +33,10 @@ pub fn StatusBar() -> impl IntoView { base.to_string() } }> -
@@ -49,8 +48,8 @@ pub fn StatusBar() -> impl IntoView { // Backdrop to close on outside click // iOS Safari requires cursor:pointer inline style for click events on div elements -
impl IntoView {
- +
- +
{format_bytes(t.size)} @@ -383,7 +416,7 @@ pub fn TorrentTable() -> impl IntoView { } }).collect::>()}
- +