fix: remove unused imports and suppress dead code warning
Some checks failed
Build MIPS Binary / build (push) Failing after 1m11s
Some checks failed
Build MIPS Binary / build (push) Failing after 1m11s
- Remove unused leptos::logging, leptos::html, leptos::task::spawn_local from toast.rs - Remove unused Torrent import from table.rs - Add #[allow(dead_code)] to modal.rs for unused fields
This commit is contained in:
@@ -4,7 +4,7 @@ use leptos::task::spawn_local;
|
||||
use leptos_use::use_timeout_fn;
|
||||
use crate::store::{get_action_messages, show_toast_with_signal};
|
||||
use crate::api;
|
||||
use shared::{NotificationLevel, Torrent};
|
||||
use shared::NotificationLevel;
|
||||
|
||||
fn format_bytes(bytes: i64) -> String {
|
||||
const UNITS: [&str; 6] = ["B", "KB", "MB", "GB", "TB", "PB"];
|
||||
|
||||
Reference in New Issue
Block a user