♻️ (bootsier, htmx): Adapta ciclo de render async
Añade `#[async_trait]` a todos los `impl Extension`, `Theme` y `Component`. Convierte `prepare()` en `async fn` y añade `.await` a las llamadas `render()` y `render_offcanvas()`.
This commit is contained in:
parent
9354894b3a
commit
1139df6210
17 changed files with 68 additions and 42 deletions
|
|
@ -29,7 +29,7 @@ use pagetop::prelude::*;
|
|||
/// .with_child(Html::with(|_| html! {
|
||||
/// ul { li { "Item 1" } li { "Item 2" } }
|
||||
/// }))
|
||||
/// .render()
|
||||
/// .render().await
|
||||
/// .into_response()
|
||||
/// }
|
||||
/// }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue