diff --git a/src/frontend/app.rs b/src/frontend/app.rs index ea939f6..2e6ac96 100644 --- a/src/frontend/app.rs +++ b/src/frontend/app.rs @@ -68,7 +68,7 @@ impl DefaultResource for Resource { } pub fn shell(options: LeptosOptions) -> impl IntoView { view! { - + diff --git a/src/frontend/pages/article/history.rs b/src/frontend/pages/article/history.rs index bbc9edf..d604b10 100644 --- a/src/frontend/pages/article/history.rs +++ b/src/frontend/pages/article/history.rs @@ -10,7 +10,6 @@ use leptos::prelude::*; #[component] pub fn ArticleHistory() -> impl IntoView { let article = article_resource(); - let edits = article_edits_resource(article); view! { @@ -18,7 +17,7 @@ pub fn ArticleHistory() -> impl IntoView { view! { "Loading..." } }> {move || { - edits + article_edits_resource(article) .get() .map(|edits| { view! { }