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} +
+
} }