mirror of
https://github.com/Nutomic/ibis.git
synced 2025-02-04 17:34:40 +00:00
Fix hydration error
This commit is contained in:
parent
ce5b2f1915
commit
596b1bcb21
2 changed files with 2 additions and 3 deletions
|
@ -10,7 +10,6 @@ use leptos::prelude::*;
|
|||
#[component]
|
||||
pub fn ArticleHistory() -> impl IntoView {
|
||||
let article = article_resource();
|
||||
let edits = article_edits_resource(article);
|
||||
|
||||
view! {
|
||||
<ArticleNav article=article active_tab=ActiveTab::History />
|
||||
|
@ -18,7 +17,7 @@ pub fn ArticleHistory() -> impl IntoView {
|
|||
view! { "Loading..." }
|
||||
}>
|
||||
{move || {
|
||||
edits
|
||||
article_edits_resource(article)
|
||||
.get()
|
||||
.map(|edits| {
|
||||
view! { <EditList edits=edits for_article=true /> }
|
||||
|
|
Loading…
Reference in a new issue