From 9ffb29c8b269f85ebf36d233bbbaa6e516927318 Mon Sep 17 00:00:00 2001 From: luoxiao Date: Sun, 8 Sep 2024 23:07:59 +0800 Subject: [PATCH] cargo fmt & leptosfmt --- thaw/src/icon/icons/mod.rs | 8 +------- thaw/src/link/link.rs | 6 +----- thaw/src/nav/nav_category.rs | 8 ++++---- thaw/src/select/mod.rs | 2 +- thaw/src/select/select.rs | 8 +++----- thaw/src/slider/mod.rs | 4 +--- thaw/src/tag/interaction_tag.rs | 2 +- thaw/src/tag/mod.rs | 2 +- thaw/src/tag_picker/mod.rs | 4 ++-- 9 files changed, 15 insertions(+), 29 deletions(-) diff --git a/thaw/src/icon/icons/mod.rs b/thaw/src/icon/icons/mod.rs index 1fc0c15..ba8c053 100644 --- a/thaw/src/icon/icons/mod.rs +++ b/thaw/src/icon/icons/mod.rs @@ -3,13 +3,7 @@ use leptos::prelude::*; #[component] pub fn ChevronDownRegularIcon() -> impl IntoView { view! { - - {children()} - - }) + EitherOf3::B(view! { {children()} }) } else { EitherOf3::C(view! {