From ed7387d6c1d513033dc6b2b77ee87e04bb692ba9 Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Wed, 17 Jan 2024 11:49:11 -0500 Subject: [PATCH] pass the article instead of copying --- doordesk/app/src/routes/home.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doordesk/app/src/routes/home.rs b/doordesk/app/src/routes/home.rs index 3a7e347..faddf6b 100644 --- a/doordesk/app/src/routes/home.rs +++ b/doordesk/app/src/routes/home.rs @@ -9,7 +9,7 @@ pub fn Home() -> impl IntoView { let articles_view = move || { data_resource.and_then(|data| { data.iter() - .map(|article| view! {
}) + .map(|article| view! {
}) .collect_view() }) };