From 30f3ee06967b2013ad39b93113b6819e6d486982 Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Thu, 18 Jan 2024 17:36:59 -0500 Subject: [PATCH] format --- doordesk/app/src/components/article.rs | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/doordesk/app/src/components/article.rs b/doordesk/app/src/components/article.rs index c4b1b91..72410bb 100644 --- a/doordesk/app/src/components/article.rs +++ b/doordesk/app/src/components/article.rs @@ -3,17 +3,12 @@ use leptos::*; #[component] pub fn Article(data: ArticleData) -> impl IntoView { - view! { - -
-

- {&data.title} -

-
- {&data.date} -
-
-
+
+

{&data.title}

+
+ {&data.date} +
+
} }