From c0baa4f21738cb4b2741fe1ec1e3df2c57352840 Mon Sep 17 00:00:00 2001 From: Sharang Parnerkar Date: Wed, 18 Feb 2026 10:12:57 +0100 Subject: [PATCH] fix(ci): ran cargo fmt --- src/components/card.rs | 7 +------ src/components/sidebar.rs | 3 +-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/components/card.rs b/src/components/card.rs index 4461de6..58e4803 100644 --- a/src/components/card.rs +++ b/src/components/card.rs @@ -9,12 +9,7 @@ use dioxus::prelude::*; /// * `href` - URL the card links to when clicked. /// * `icon` - Element rendered as the card icon (typically a `dioxus_free_icons::Icon`). #[component] -pub fn DashboardCard( - title: String, - description: String, - href: String, - icon: Element, -) -> Element { +pub fn DashboardCard(title: String, description: String, href: String, icon: Element) -> Element { rsx! { a { class: "dashboard-card", href: "{href}", div { class: "card-icon", {icon} } diff --git a/src/components/sidebar.rs b/src/components/sidebar.rs index 6da3675..464bedf 100644 --- a/src/components/sidebar.rs +++ b/src/components/sidebar.rs @@ -1,7 +1,6 @@ use dioxus::prelude::*; use dioxus_free_icons::icons::bs_icons::{ - BsBoxArrowRight, BsFileEarmarkText, BsGear, BsGithub, BsGrid, - BsHouseDoor, BsRobot, + BsBoxArrowRight, BsFileEarmarkText, BsGear, BsGithub, BsGrid, BsHouseDoor, BsRobot, }; use dioxus_free_icons::icons::fa_solid_icons::FaCubes; use dioxus_free_icons::Icon;