Skip to content

Commit

Permalink
fix remaining linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gbj committed Apr 5, 2024
1 parent 106d734 commit 5740f00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/ssr_modes_axum/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ fn Post() -> impl IntoView {

let post_view = move || {
post().map(|post| {
Ok(view! {
view! {
// render content
<h1>{&post.title}</h1>
<p>{&post.content}</p>
Expand All @@ -107,7 +107,7 @@ fn Post() -> impl IntoView {
// when it's first served
<Title text=post.title.clone()/>
<Meta name="description" content=post.content.clone()/>
})
}
})
};

Expand Down

0 comments on commit 5740f00

Please sign in to comment.